Created attachment 194492 [details] [review] Bug 41995: Autocomplete for syspref search This patch adds autocompletion to the syspref search in the header. Test plan: 1. Go to the admin home page - /cgi-bin/koha/admin/admin-home.pl 2. In the header start typing the name of a syspref and notice that there is now autocompletion (you need at least 3 chars) 3. Select an entry and confirm that you are correctly redirected to the correct search result
This is a great idea. :) I tested this in a sandbox and the autocomplete works but when you select one of the recommendations the search does not work. It does not do the search with the selected system preference name. The next one is not a show stopper but should we add the autocomplete to the System preferences search box also? See the screenshot.
Created attachment 194498 [details] Screenshot of System preferences search box
(In reply to Anneli Österman from comment #2) > The next one is not a show stopper but should we add the autocomplete to the > System preferences search box also? See the screenshot. I had the same thought
Created attachment 194501 [details] [review] Bug 41995: Autocomplete for syspref search This patch adds autocompletion to the syspref search in the header. Test plan: 1. Go to the admin home page - /cgi-bin/koha/admin/admin-home.pl 2. In the header start typing the name of a syspref and notice that there is now autocompletion (you need at least 3 chars) 3. Select an entry and confirm that you are correctly redirected to the correct search result
Created attachment 194507 [details] [review] Bug 41995: Add autocomplete on the admin home page Patch from commit 04e7c46
(In reply to Anneli Österman from comment #2) > I tested this in a sandbox and the autocomplete works but when you select > one of the recommendations the search does not work. It does not do the > search with the selected system preference name. Oops yes sorry, I made a mistake when I clean the code for submission. > The next one is not a show stopper but should we add the autocomplete to the > System preferences search box also? See the screenshot. Done in the second patch. Thanks for testing!
Created attachment 194508 [details] [review] Bug 41995: Autocomplete for syspref search This patch adds autocompletion to the syspref search in the header. Test plan: 1. Go to the admin home page - /cgi-bin/koha/admin/admin-home.pl 2. In the header start typing the name of a syspref and notice that there is now autocompletion (you need at least 3 chars) 3. Select an entry and confirm that you are correctly redirected to the correct search result Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Created attachment 194509 [details] [review] Bug 41995: Add autocomplete on the admin home page Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>