[Koha-bugs] [Bug 27113] ElasticSearch: Autocomplete in input search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 22 14:29:28 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #14 from Owen Leonard <oleonard at myacpl.org> ---
This is very cool, and is working well in the OPAC. I don't think you need to
add a separate CSS file. I think it should be incorporated into the main one.
It's not a large enough addition to necessitate a separate file.

I wonder if we should have an entry at the end of the autocomplete menu every
time which the user can click on to submit the string they've entered? For
instance, I type "dogs," and the autocomplete shows the first 10 results. A
last menu item could say, "See full search results for <dogs>" or something
like that?

This patch adds the feature to the OPAC and staff interface but only adds one
preference. I think it should be separated into two, one for each interface.

It doesn't work for me in the staff interface. There is an error:

"Could not compile /kohadevbox/koha/api/elasticsearch/autocomplete.pl: Can't
locate Switch.pm in @INC (you may need to install the Switch module)"

There are many errors flagged by the QA tool.

There are instances of "console.log" in the code which must be removed.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list