https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35284
--- Comment #15 from David Cook <[email protected]> --- (In reply to Jonathan Druart from comment #12) > Please test the global search and the column filtering on the different > tables: > 1. patrons search (specific initComplete) > 2. cities (no specific initComplete) > 3. tables in Vue apps: ERM or preservation modules (using KohaTable.vue) > 4. Other tables not using the REST API (should not be using by the delay) > > The delay is 500ms. The global search should hit a search (refresh of the > table) 500ms after you hit the last key. > The column filtering hit a search every 500ms (no matter if you are still > typing). 1. http://localhost:8081/cgi-bin/koha/members/member.pl The global patron search autocomplete seems good. I type "koh" and it just does 1 search. The column filtering on the patron search seems OK. When I rapidly write "koha" in the Name column filter, it does 2 searches instead of 1. That's better than 4 though. 2. http://localhost:8081/cgi-bin/koha/admin/cities.pl I create a couple cities named "test1", "test2", etc I column filter by "City" rapidly writing "test" and it does 2 searches instead of 1. But still better than 4. 3. I turn on ERM and go to http://localhost:8081/cgi-bin/koha/erm/agreements I create a couple agreements named "test1", "test2", etc. Same column filtering as above. 4. Go to http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=134&searchid=scs_1699572642146 Click "Activate filters" Filters work correctly and quickly. -- I've done a little test and I should be writing "koha" and "test" in about 350ms. So with the column filtering I'm assuming it's doing 1 search immediately (the first search usually includes the first 1-2 keys struck) and then the next search is done 500ms later, which is after I've finished typing the full word... If I type the word "test" at a more normal speed, it's doing 4 searches. Testing against master... Cities: Same number of requests as with the patches. Patrons: When I rapidly type "koha", it does 3 searches consistently instead of the 2 searches that I get with the patches. -- So I'm not sure there's much improvement for human searching, but these patches do significantly help with running unit tests. It's like night and day. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
