diff --git a/counter/static/bundled/counter/components/ajax-select-index.ts b/counter/static/bundled/counter/components/ajax-select-index.ts index cd9f77db..5470de25 100644 --- a/counter/static/bundled/counter/components/ajax-select-index.ts +++ b/counter/static/bundled/counter/components/ajax-select-index.ts @@ -18,7 +18,10 @@ export class ProductAjaxSelect extends AjaxSelect { protected searchField = ["code", "name"]; protected async search(query: string): Promise { - const resp = await productSearchProducts({ query: { search: query } }); + const resp = await productSearchProducts({ + // biome-ignore lint/style/useNamingConvention: API is snake_case + query: { search: query, is_archived: false }, + }); if (resp.data) { return resp.data.results; }