From 1a14855c57c90f3540fa04241214e17360bd6ed7 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 24 Jun 2023 01:05:33 +0200 Subject: [PATCH] Making autocompete finetuning #660 --- src/frontend/app/ui/gallery/search/autocomplete.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/ui/gallery/search/autocomplete.service.ts b/src/frontend/app/ui/gallery/search/autocomplete.service.ts index 8f5316d4..266469b6 100644 --- a/src/frontend/app/ui/gallery/search/autocomplete.service.ts +++ b/src/frontend/app/ui/gallery/search/autocomplete.service.ts @@ -280,7 +280,7 @@ export class AutoCompleteService { } else if (aLC.startsWith(textLC)) { return -1; } - return basicCompare(); + return 1; }); }