[Bug 23317] New: Elasticsearch - IntranetCatalogSearchPulldown breaks searching indexes via query
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 Bug ID: 23317 Summary: Elasticsearch - IntranetCatalogSearchPulldown breaks searching indexes via query Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com To recreate: 1 - Enable ES 2 - On staff side search for sn:4 (or real biblionumber) 3 - You go to a bib 4 - Enable IntranetCatalogSearchPulldown 5 - Reload the page to search the dropdown 6 - Repeat search 7 - It fails -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 Ron Houk <rhouk@ottumwapubliclibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rhouk@ottumwapubliclibrary. | |org --- Comment #1 from Ron Houk <rhouk@ottumwapubliclibrary.org> --- Being able to search indexes is a very useful feature and it would be nice to have it working with Elasticsearch. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 Andrew <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com --- Comment #2 from Andrew <andrew@bywatersolutions.com> --- This jQuery in IntranetUserJS can bandaid the problem: $(document).ready(function () { $("select.advsearch[name='idx'] option[value='kw,phr']").after('<option value="sn">Biblionumber</option>'); $("select.advsearch[name='idx'] option[value='kw']").attr('value',""); }); -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 --- Comment #3 from Andrew <andrew@bywatersolutions.com> --- Whoops, pasted a bit more than I meant to. Here's the relevant bit: This jQuery in IntranetUserJS can bandaid the problem: $(document).ready(function () { $("select.advsearch[name='idx'] option[value='kw']").attr('value',""); }); -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- So this actually works in master currently, as long as 'keyword' is selected. If you try to select 'Title' in the dropdown and then search 'au:dickens' it fails Do we need to support searches like that? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Nick Clemens from comment #4)
So this actually works in master currently, as long as 'keyword' is selected.
If you try to select 'Title' in the dropdown and then search 'au:dickens' it fails
Do we need to support searches like that?
I think 'expert search' is only expected to work with keyword selected - if that is the question :) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23317 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org