[Bug 27113] New: ElasticSearch: Autocomplete in input search
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Bug ID: 27113 Summary: ElasticSearch: Autocomplete in input search Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: ivan.dziuba@inlibro.com -- 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=27113 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #1 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 114168 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114168&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he starting search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! We need do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). If need do 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 4. For add information in the index we need run script for indexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find "AutocompleteElasticSearch". Value must be "Show". 7. Now we have Autocomplete for all search input (advanced search also) -- 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=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.begin@inLibro.com, | |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |ivan.dziuba@inlibro.com |ity.org | -- 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=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ivan.dziuba@inlibro.com --- Comment #2 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 114169 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114169&action=edit Result -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #114168|0 |1 is obsolete| | --- Comment #3 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 114945 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114945&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he starting search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! We need do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). If need do 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 4. For add information in the index we need run script for indexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find "AutocompleteElasticSearch". Value must be "Show". 7. Now we have Autocomplete for all search input (advanced search also) Bug 27113: ElasticSearch: Autocomplete in input search v.2.0 Update v.2 - API passing tests: prove t - fixed bugs -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #4 from Fridolin Somers <fridolin.somers@biblibre.com> --- Whaou I like this :D Just a question : The patch changes some unrelated text in installer/data/mysql/mandatory/sysprefs.sql : -('AnonymousPatron','0',NULL,'Set the identifier (borrowernumber) of the anonymous patron. Used for suggestion and checkout history privacy',''), +('AnonymousPatron','0',NULL,'Set the identifier (borrowernumber) of the anonymous patron. Used for Suggestion and reading history privacy',''), Looks like is it unwanted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #5 from Fridolin Somers <fridolin.somers@biblibre.com> --- In koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc + var OL_PREVIEW = _("Preview"); Why this ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #6 from Fridolin Somers <fridolin.somers@biblibre.com> --- I see : api/elasticsearch/intranet-autocomplete.pl This is strange, its not using the REST API right ? Its more a perl script like : opac/svc/elasticsearch/opac-autocomplete.pl Should be in svc/elasticsearch I'd say. BTW : It is possible to use the REST API ? It whould provide the service for both opac and intranet. Best regards, -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #7 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Yes, I see many errors in the files. I will change it. I would like to provide the service for both opac and intranet through REST API. But, I see many preferences for REST API: ('RESTBasicAuth'- 'If enabled, Basic authentication is enabled for the REST API.','YesNo'), ('RESTdefaultPageSize' - 'Default page size for endpoints listing objects','Integer'), ('RESTOAuth2ClientCredentials' - 'If enabled, the OAuth2 client credentials flow is enabled for the REST API.','YesNo'), ('RESTPublicAnonymousRequests' -'If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access.','YesNo'), ('RESTPublicAPI' - 'If enabled, the REST API will expose the /public endpoints.','YesNo') I am not sure that good idea for OPAC because REST API uses Auth. It is possible to disable authentication in the preferences for REST API, but this may have a consequences... Do you have a solution about this? Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #8 from Fridolin Somers <fridolin.somers@biblibre.com> --- I think you can provide a public API for OPAC : https://wiki.koha-community.org/wiki/REST_api_RFCs#Unprivileged_.28public.29... datas are the same as searching with OPAC website. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #9 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Are you sure that OPAC search uses REST API? It's only GET request (with parametres 'q', 'idx', ...) for file opac-search.pl and return a results for template *-results.tt. I don't see here REST API. Best regards, -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #114945|0 |1 is obsolete| | --- Comment #10 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 115117 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115117&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he starting search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! We need do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). If need do 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 4. For add information in the index we need run script for indexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find "AutocompleteElasticSearch". Value must be "Show". 7. Now we have Autocomplete for all search input (advanced search also) Bug 27113: ElasticSearch: Autocomplete in input search v.2.0 Bug 27113: ElasticSearch: Autocomplete on input search. Code change -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #11 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to Ivan Dziuba from comment #9)
Are you sure that OPAC search uses REST API? It's only GET request (with parametres 'q', 'idx', ...) for file opac-search.pl and return a results for template *-results.tt. I don't see here REST API.
Best regards,
No indeed, search is not actually using API. I say your autocomplete feature should use a dedicated API service. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #115117|0 |1 is obsolete| | --- Comment #12 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 116293 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116293&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Bug 27113: ElasticSearch: Autocomplete in input search. Fix bugs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116293|0 |1 is obsolete| | --- Comment #13 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 119979 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119979&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Bug 27113: ElasticSearch: Autocomplete in input search. Fix bugs. Bug 27113: ElasticSearch: Autocomplete in input search. Use Unicode::Normalize instead Text::Unaccent. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #14 from Owen Leonard <oleonard@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #15 from Blou <philippe.blouin@inlibro.com> --- Good idea on the button. But I asked Ivan to focus on feature at hand and everything else can be a new BZ. If he gets it through, it'll be easy to add on afterward. For the .css, you mean merging autocomplete.css into opac.css ? Couldn't that be a RM thing at the end, if really needed? Otherwise that makes the rebasing very painful. Ivan is certainly not at ease with that demand. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #16 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Blou from comment #15)
For the .css, you mean merging autocomplete.css into opac.css ?
I mean adding the contents of autocomplete.css into opac.scss. I'd be happy to submit a follow-up for this part, converting the CSS to SCSS, if that would help. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #17 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Blou from comment #15)
Good idea on the button. But I asked Ivan to focus on feature at hand and everything else can be a new BZ. If he gets it through, it'll be easy to add on afterward.
For the .css, you mean merging autocomplete.css into opac.css ? Couldn't that be a RM thing at the end, if really needed? Otherwise that makes the rebasing very painful. Ivan is certainly not at ease with that demand.
The RM will generate the scss files, you don't need to submit those. But they won't merge CSS changes into the css files. But the risk of conflict is not usually high there. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #119979|0 |1 is obsolete| | --- Comment #18 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 120028 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120028&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120028|0 |1 is obsolete| | --- Comment #19 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 120029 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120029&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Medium patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #20 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 120084 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120084&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test, follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #21 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 120088 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120088&action=edit GIF showing the buggy behavior I have to mark this "Failed QA" again because the QA tool issues were not all addressed. Please run the QA tool and fix the problems it raises. The only other thing I noticed in testing today was that there is a change in behavior of the search tabs in the staff client. The layout is off, and the focus doesn't move to the input field like it does on the other tabs. See the attached screen grab. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #22 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- (In reply to Owen Leonard from comment #21)
Created attachment 120088 [details] GIF showing the buggy behavior
I have to mark this "Failed QA" again because the QA tool issues were not all addressed. Please run the QA tool and fix the problems it raises.
The only other thing I noticed in testing today was that there is a change in behavior of the search tabs in the staff client. The layout is off, and the focus doesn't move to the input field like it does on the other tabs. See the attached screen grab.
You have changed/moved CSS files and it provoke your problem with the layout (it was not good idea). Katrin Fischer gave you notice of that! Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #23 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Ivan Dziuba from comment #22)
You have changed/moved CSS files and it provoke your problem with the layout
Okay, but the issue with the input field focus is the same without my follow-up. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #24 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Owen Leonard from comment #21)
The layout is off
My mistake--I recorded that screengrab without having rebuilt the CSS from SCSS. I will modify the test plan to make that part clear. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120084|0 |1 is obsolete| | --- Comment #25 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 120109 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120109&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120029|0 |1 is obsolete| | --- Comment #26 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 120140 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120140&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #27 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 120141 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120141&action=edit Bug 27113: (follow-up) QA Tests Bug 27113: (follow-up) QA Tests (2) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #28 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
You have changed/moved CSS files and it provoke your problem with the layout (it was not good idea). Katrin Fischer gave you notice of that! Thanks!
I think I am the one who messed up here. Owen is our GUI expert, what he says goes :) I think where I got confused was the file endings. It should have been: RM does generate .css files, but you should commit the .scss changes. (Basically, the fiels that are minified and generated - don't submit them, but the normal ones you need to). Owen, please feel free to correct if I got it not quite right again. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120141|0 |1 is obsolete| | --- Comment #29 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 120806 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120806&action=edit Bug 27113: (follow-up) QA Tests Bug 27113: (follow-up) QA Tests (2) Bug 27113: (follow-up) Fixup warnings. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #30 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 121497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121497&action=edit I have changed CGI::Session->new() from CGI::Session->load() for use session. This condition - 'CGI::Session->load() or die CGI::Session->errstr();' I am not sure that was good idea to use 'die' in this condition...What do you think? Thanks! Bug 27113: (follow-up) Correction with Session TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #121497|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #31 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- Created attachment 121498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121498&action=edit Bug 27113: (follow-up) Correction with Session I have changed CGI::Session->new() from CGI::Session->load() for use session. This condition - 'CGI::Session->load() or die CGI::Session->errstr();' I am not sure that was good idea to use 'die' in this condition...What do you think? Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |david@davidnind.com --- Comment #32 from David Nind <david@davidnind.com> --- Patch no longer applies 8-(... Bug 27113 - ElasticSearch: Autocomplete in input search 120109 - Bug 27113: (follow-up) Move new CSS to main SCSS files 120140 - Bug 27113: ElasticSearch: Autocomplete in input search 120806 - Bug 27113: (follow-up) QA Tests 121498 - Bug 27113: (follow-up) Correction with Session Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 27113: (follow-up) Move new CSS to main SCSS files error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/css/elasticsearch/autocomplete.css). error: could not build fake ancestor Patch failed at 0001 Bug 27113: (follow-up) Move new CSS to main SCSS files -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Ivan Dziuba <ivan.dziuba@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff --- Comment #33 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- (In reply to David Nind from comment #32)
Patch no longer applies 8-(...
Bug 27113 - ElasticSearch: Autocomplete in input search
120109 - Bug 27113: (follow-up) Move new CSS to main SCSS files 120140 - Bug 27113: ElasticSearch: Autocomplete in input search 120806 - Bug 27113: (follow-up) QA Tests 121498 - Bug 27113: (follow-up) Correction with Session
Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 27113: (follow-up) Move new CSS to main SCSS files error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/css/elasticsearch/autocomplete.css). error: could not build fake ancestor Patch failed at 0001 Bug 27113: (follow-up) Move new CSS to main SCSS files
I checked it and it works :). Do you use Koha 21.05? Thanks. Bug 27113 - ElasticSearch: Autocomplete in input search 120109 - Bug 27113: (follow-up) Move new CSS to main SCSS files 120140 - Bug 27113: ElasticSearch: Autocomplete in input search 120806 - Bug 27113: (follow-up) QA Tests 121498 - Bug 27113: (follow-up) Correction with Session Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 27113: (follow-up) Move new CSS to main SCSS files Using index info to reconstruct a base tree... A koha-tmpl/intranet-tmpl/prog/css/elasticsearch/autocomplete.css M koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc A koha-tmpl/opac-tmpl/bootstrap/css/opac-elasticsearch/opac-autocomplete.css M koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss M koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc Falling back to patching base and 3-way merge... Auto-merging koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss Applying: Bug 27113: ElasticSearch: Autocomplete in input search Applying: Bug 27113: (follow-up) QA Tests Applying: Bug 27113: (follow-up) Correction with Session -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #34 from Tomás Cohen Arazi <tomascohen@gmail.com> --- I agree with Fridolin: we should think of adding API routes for this. There should be a privileged route, and an unprivileged route. You shouldn't worry about sessions and all. Just add the required permissions to interact with the routes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #35 from Blou <philippe.blouin@inlibro.com> --- I'm sorry Tomas, this really muddied the picture for Ivan, and I can't help him as I've no idea how he should proceed. Do you mean his api/elasticsearch/elasticsearch.pl should be put under /v1/ and the routes added to swagger, etc... Any wiki to help him there? We had hope this would get into 21.05 initially, but right now it looks like Ivan will recode it for the foreseable future. Which won't happen, I'll give him one more go at it then drop it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #36 from David Cook <dcook@prosentient.com.au> --- (In reply to Tomás Cohen Arazi from comment #34)
I agree with Fridolin: we should think of adding API routes for this. There should be a privileged route, and an unprivileged route. You shouldn't worry about sessions and all. Just add the required permissions to interact with the routes.
Yeah, I don't get why session data is being used here. I don't even know if there needs to be 2 routes. Maybe just 1 public/unprivileged API route. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #37 from David Cook <dcook@prosentient.com.au> --- Also, it's not clear from the test plan what the user is expected to see/do in terms of the autocomplete... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #38 from David Nind <david@davidnind.com> --- (In reply to Ivan Dziuba from comment #33) ..
I checked it and it works :). Do you use Koha 21.05? Thanks. ..
Hi Ivan. I'm using master - I tried again and still get the same error for the CSS follow-up patch: .. Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 27113: (follow-up) Move new CSS to main SCSS files error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/css/elasticsearch/autocomplete.css). error: could not build fake ancestor Patch failed at 0001 Bug 27113: (follow-up) Move new CSS to main SCSS files .. I can get the patches to apply if I use interactive, comment out the CSS follow-up patch, then apply again using interactive and then just apply the CSS follow-up patch. I'm assuming the error is because the follow-up CSS is being applied first, but what it is changing doesn't exist yet as it is one of the later patches. I don't know enough about patches to fix this up, but will try and test with what I have. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120140|0 |1 is obsolete| | --- Comment #39 from David Nind <david@davidnind.com> --- Created attachment 121555 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121555&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120806|0 |1 is obsolete| | --- Comment #40 from David Nind <david@davidnind.com> --- Created attachment 121556 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121556&action=edit Bug 27113: (follow-up) QA Tests Bug 27113: (follow-up) QA Tests (2) Bug 27113: (follow-up) Fixup warnings. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #121498|0 |1 is obsolete| | --- Comment #41 from David Nind <david@davidnind.com> --- Created attachment 121557 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121557&action=edit Bug 27113: (follow-up) Correction with Session I have changed CGI::Session->new() from CGI::Session->load() for use session. This condition - 'CGI::Session->load() or die CGI::Session->errstr();' I am not sure that was good idea to use 'die' in this condition...What do you think? Thanks! Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120109|0 |1 is obsolete| | --- Comment #42 from David Nind <david@davidnind.com> --- Created attachment 121558 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121558&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #43 from David Nind <david@davidnind.com> --- I finally got this to work for me, and it is a really nice feature. Nice work! I've signed off, but these are my suggestions for the wording for the new system preferences - the QA Team will probably comment on this is as well, so you may as well get ahead of them!: 1. IntranetAutocompleteElasticSearch: change system preference name to StaffInterfaceAutocompleteElasticsearch - We are using 'staff interface' now, instead of 'intranet' - not sure what the protocol is for system preference names, but for new system preferences we should probably start using StaffInterface; Elasticsearch doesn't have a capital S (see for example the SearchEngine system preference) 2. Wording for IntranetAutocompleteElasticSearch: . Currently: Don't show/Show looking terms based on a provided text by using an ElasticSearch for Intranet. . Suggested: Don't show/Show search suggestions in the staff interface when using Elasticsearch. 3. Wording for OPACAutocompleteElasticSearch: . Currently: Don't show/Show looking terms based on a provided text by using an ElasticSearch for OPAC. . Change to: Don't show/Show search suggestions in the OPAC when using Elasticsearch. Other testing notes (using koha-testing-docker): . Package command to rebuild the index: koha-elasticsearch -d --rebuild -a -b kohadev . Needed to change .env file as a result of recent commits to koha-testing-docker for Elasticsearch (compared default with custom .env file and added new variables) . As indicated earlier, had to apply patch interactively: 1st excluding CSS patch, then again to include CSS patch . Rebuild CSS as per CSS patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds release notes| |autocomplete suggestions | |for searches in the OPAC | |and staff interface, | |including the advanced | |search forms (when using | |Elasticsearch). | | | |This is | |enabled using two new | |system preferences: | |- | |StaffInterfaceAutocompleteE | |lasticsearch | |- | |OPACAutocompleteElasticSear | |ch | | | |Note: For this to work | |the search index needs | |rebuilding. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #44 from David Cook <dcook@prosentient.com.au> --- I am tempted to mark this as Failed QA, since I'm pretty sure the session handling doesn't work as intended (I think it's saving the session data in a file rather than in the database), but I haven't actually tested it, so leaving it as is. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ElasticSearch: Autocomplete |Elasticsearch: Autocomplete |in input search |in search -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #45 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- As QA: I really like David's suggestions for the rephrasing. I think it makes the use much more clear. But before spending time on these, we probably need to sort out the other requirements/comments. Sessions: * David, can you be a bit more precise about what you think doesn't work? * Tomas, can you help with what you imagined and maybe the sessions bit? Does this need to be fixed here or could it be a follow-up? (In reply to Tomás Cohen Arazi from comment #34)
I agree with Fridolin: we should think of adding API routes for this. There should be a privileged route, and an unprivileged route. You shouldn't worry about sessions and all. Just add the required permissions to interact with the routes.
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #46 from Blou <philippe.blouin@inlibro.com> --- Ivan has already recoded it without sessions in our codebase. But before pushing that change, we'll be waiting for Tomas' instructions regarding the svc/ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #47 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Blou from comment #46)
Ivan has already recoded it without sessions in our codebase. But before pushing that change, we'll be waiting for Tomas' instructions regarding the svc/
Hi Blou, thx for the update! So we can scratch that off the list. I'll ask Tomas to have another look. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #48 from David Cook <dcook@prosentient.com.au> --- (In reply to Blou from comment #46)
Ivan has already recoded it without sessions in our codebase. But before pushing that change, we'll be waiting for Tomas' instructions regarding the svc/
I'll mostly leave it to Tomas, but it might be worth looking over https://wiki.koha-community.org/wiki/Rest_Api_HowTo Basically, the "svc/" API scripts are legacy, so we don't want to be adding new ones. We just want to build up the Mojolicious-based REST API. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #49 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Blou from comment #46)
Ivan has already recoded it without sessions in our codebase. But before pushing that change, we'll be waiting for Tomas' instructions regarding the svc/
I think this is a subject worth discussing in the open, i.e. in koha-devel. As I mentioned (not sure where) I believe we could try adding some filtering capabilities to GET /biblios to accomplish this. I proposed something similar on bug 25870. In that case, I proposed a 'q_ccl' query param that could take a CCL query so we could accept complex queries. The route would then extract the ids (biblionumbers) and return Koha::Biblios->to_api objects as required. I don't think CCL is a cool feature, but it felt like good start: allowing people to query records through the API. The ES syntax might be a high constraint for the feature (leaving Zebra users out), specially if you are querying things like title, author, etc. But that's another possibility: add a query parameter that only works with ES (q_es?). Regarding routes, you need to think what the response would look like. And it will help you figure what you want. Is it ok/enough for GET /biblios?<filter> to return JSON representation of the biblio+biblioitems table columns? Unfortunately, the OpenAPI v2.0 schema doesn't provide a way to define different response schemas for different content-type responses, and thus we left GET /biblios/:biblio_id under-documented (it is supported on v3) but you can try GET /biblios/1 and see the response to get an idea of what we already return [1]. It feels like we need to build a good query language, and reuse this routes. [1] This is how we build the JSON representation of a biblio https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/Bi... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #50 from Ivan Dziuba <ivan.dziuba@inlibro.com> --- (In reply to Tomás Cohen Arazi from comment #49)
(In reply to Blou from comment #46)
Ivan has already recoded it without sessions in our codebase. But before pushing that change, we'll be waiting for Tomas' instructions regarding the svc/
I think this is a subject worth discussing in the open, i.e. in koha-devel.
As I mentioned (not sure where) I believe we could try adding some filtering capabilities to GET /biblios to accomplish this. I proposed something similar on bug 25870. In that case, I proposed a 'q_ccl' query param that could take a CCL query so we could accept complex queries. The route would then extract the ids (biblionumbers) and return Koha::Biblios->to_api objects as required.
I don't think CCL is a cool feature, but it felt like good start: allowing people to query records through the API.
The ES syntax might be a high constraint for the feature (leaving Zebra users out), specially if you are querying things like title, author, etc. But that's another possibility: add a query parameter that only works with ES (q_es?).
Regarding routes, you need to think what the response would look like. And it will help you figure what you want. Is it ok/enough for GET /biblios?<filter> to return JSON representation of the biblio+biblioitems table columns? Unfortunately, the OpenAPI v2.0 schema doesn't provide a way to define different response schemas for different content-type responses, and thus we left GET /biblios/:biblio_id under-documented (it is supported on v3) but you can try
GET /biblios/1
and see the response to get an idea of what we already return [1].
It feels like we need to build a good query language, and reuse this routes.
[1] This is how we build the JSON representation of a biblio https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/ Biblio.pm#L867-L892
I don't understand what is it means `It feels like we need to build a good query language, and reuse these routes.`? Here I use dynamic queries $q, $prefix and a kind of "$token" to understand for which query hints were returned and whether to show or skip them. (depends on the speed of writing). Could you please clarify the structure of URL for that. Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Lucy Vaux-Harvey <lucy.vaux-harvey@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucy.vaux-harvey@ptfs-europ | |e.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 mathieu saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Marjorie Barry-Vila <marjorie.barry-vila@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@collect | |o.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 The Minh Luong <the-minh.luong@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #121555|0 |1 is obsolete| | Attachment #121556|0 |1 is obsolete| | Attachment #121557|0 |1 is obsolete| | Attachment #121558|0 |1 is obsolete| | --- Comment #51 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 131207 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131207&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #52 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 131208 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131208&action=edit Bug 27113: (follow-up) QA Tests Bug 27113: (follow-up) QA Tests (2) Bug 27113: (follow-up) Fixup warnings. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #53 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 131209 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131209&action=edit Bug 27113: (follow-up) Correction with Session I have changed CGI::Session->new() from CGI::Session->load() for use session. This condition - 'CGI::Session->load() or die CGI::Session->errstr();' I am not sure that was good idea to use 'die' in this condition...What do you think? Thanks! Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #54 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 131210 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131210&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #55 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 131211 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131211&action=edit Bug 27113: Rebase and correct autocomplete appearance Rebase of previous patches and correct the buggy behavior (See "GIF showing buggy behavior attachment") Test plan: 1- Search for an item. Notice that the autocomplete functionnality is not available. (See "Result" attachment) 2- Make sure that you are using Elasticsearch as your searching engine. (Preference->SearchEngine->ElasticSearch) 3- Apply the patch. 4- Run ./installer/data/mysql/updatedatabase.pl 5- Looks for the following preferences : - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 6- Set their value to show. 7- Rebuild the OPAC and staff client CSS (This step is important because the autocomplete CSS is moved to the main SCSS file): Instructions here: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... 8- Search for an item and notice that the autocomplete functionnality is now available. 9- In the staff interface, go in "Search the catalog". 10- Notice that the buggy behavior is now fixed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 The Minh Luong <the-minh.luong@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff CC| |the-minh.luong@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 The Minh Luong <the-minh.luong@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #131207|0 |1 is obsolete| | Attachment #131208|0 |1 is obsolete| | Attachment #131209|0 |1 is obsolete| | Attachment #131210|0 |1 is obsolete| | Attachment #131211|0 |1 is obsolete| | --- Comment #56 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 132360 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132360&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #57 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 132361 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132361&action=edit Bug 27113: (follow-up) QA Tests Bug 27113: (follow-up) QA Tests (2) Bug 27113: (follow-up) Fixup warnings. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #58 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 132362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132362&action=edit Bug 27113: (follow-up) Correction with Session I have changed CGI::Session->new() from CGI::Session->load() for use session. This condition - 'CGI::Session->load() or die CGI::Session->errstr();' I am not sure that was good idea to use 'die' in this condition...What do you think? Thanks! Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #59 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 132363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132363&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #60 from The Minh Luong <the-minh.luong@inlibro.com> --- Created attachment 132364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132364&action=edit Bug 27113: Rebase and correct autocomplete appearance Rebase of previous patches and correct the buggy behavior (See "GIF showing buggy behavior attachment") Test plan: 1- Search for an item. Notice that the autocomplete functionnality is not available. (See "Result" attachment) 2- Make sure that you are using Elasticsearch as your searching engine. (Preference->SearchEngine->ElasticSearch) 3- Apply the patch. 4- Run ./installer/data/mysql/updatedatabase.pl 5- Looks for the following preferences : - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 6- Set their value to show. 7- Rebuild the OPAC and staff client CSS (This step is important because the autocomplete CSS is moved to the main SCSS file): Instructions here: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... 8- Search for an item and notice that the autocomplete functionnality is now available. 9- In the staff interface, go in "Search the catalog". 10- Notice that the buggy behavior is now fixed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #61 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 132808 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132808&action=edit Bug 27113: No autosubmit after clicking autocomplete option in advanced search This patch makes it so it doesn't automatically submit form after clicking an autocomplete option in advanced search. Also removes autocomplete options after pressing tab. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #62 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 132945 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132945&action=edit Bug 27113: Removes items in OPACHiddenItems from autocomplete Items specified in OPACHiddenItems preference are removed from search suggestions in OPAC. Test plan: 1- Search for an item. Notice that the autocomplete functionnality is not available. (See "Result" attachment) 2- Make sure that you are using Elasticsearch as your searching engine. (Preference->SearchEngine->ElasticSearch) 3- Apply the patch. 4- Run ./installer/data/mysql/updatedatabase.pl 5- Looks for the following preferences : - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 6- Set their value to show. 7- Rebuild the OPAC and staff client CSS (This step is important because the autocomplete CSS is moved to the main SCSS file): Instructions here: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... 8- Search for an item and notice that the autocomplete functionnality is now available. 9- In the staff interface, go in "Search the catalog". 10- Notice that the buggy behavior is now fixed. 11- Search for an item with basic search and click on one of the options. 12- Notice it automatically sends you to the selected items page. 13- This time, search an item using the advanced search and click on one of the options. 14- Notice it just writes the chosen option in the input instead. 15- Go to Administration -> system preferences -> OPACHiddenItems. 16- Define a rule that applies to an existing item. 17- Search that item in OPAC and notice it doesn't give you the suggestion for that item. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shi-yao.wang@inLibro.com --- Comment #63 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- My concern is that searching with more than 1 prefix is going to be too slow when there are lots of items since it will go through a triple nested loop. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #64 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Sorry. I meant double nested loops. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132945|0 |1 is obsolete| | --- Comment #65 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 132946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132946&action=edit Bug 27113: Removes items in OPACHiddenItems from autocomplete Items specified in OPACHiddenItems preference are removed from search suggestions in OPAC. Test plan: 1- Search for an item. Notice that the autocomplete functionnality is not available. (See "Result" attachment) 2- Make sure that you are using Elasticsearch as your searching engine. (Preference->SearchEngine->ElasticSearch) 3- Apply the patch. 4- Run ./installer/data/mysql/updatedatabase.pl 5- Looks for the following preferences : - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 6- Set their value to show. 7- Rebuild the OPAC and staff client CSS (This step is important because the autocomplete CSS is moved to the main SCSS file): Instructions here: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... 8- Search for an item and notice that the autocomplete functionnality is now available. 9- In the staff interface, go in "Search the catalog". 10- Notice that the buggy behavior is now fixed. 11- Search for an item with basic search and click on one of the options. 12- Notice it automatically sends you to the selected items page. 13- This time, search an item using the advanced search and click on one of the options. 14- Notice it just writes the chosen option in the input instead. 15- Go to Administration -> system preferences -> OPACHiddenItems. 16- Define a rule that applies to an existing item. 17- Search that item in OPAC and notice it doesn't give you the suggestion for that item. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132946|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #66 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 133042 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133042&action=edit Bug 27113: Removes hidden and suppressed items from OPAC autocomplete Items specified in OPACHiddenItems preference and items affected by OpacSuppression are removed from search suggestions in OPAC. Test plan: 1- Search for an item. Notice that the autocomplete functionnality is not available. (See "Result" attachment) 2- Make sure that you are using Elasticsearch as your searching engine. (Preference->SearchEngine->ElasticSearch) 3- Apply the patch. 4- Run ./installer/data/mysql/updatedatabase.pl 5- Looks for the following preferences : - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 6- Set their value to show. 7- Rebuild the OPAC and staff client CSS (This step is important because the autocomplete CSS is moved to the main SCSS file): Instructions here: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... 8- Search for an item and notice that the autocomplete functionnality is now available. 9- In the staff interface, go in "Search the catalog". 10- Notice that the buggy behavior is now fixed. 11- Search for an item with basic search and click on one of the options. 12- Notice it automatically sends you to the selected items page. 13- This time, search an item using the advanced search and click on one of the options. 14- Notice it just writes the chosen option in the input instead. 15- Go to Administration -> system preferences -> OPACHiddenItems. 16- Define a rule that applies to an existing item. 17- Search that item in OPAC and notice it doesn't give you the suggestion for that item. 18- Go to Administration -> system preferences -> OpacSuppression and set it to "hide". 19- Add or edit a record and set 942$n field to yes. 20- Search that entry in OPAC and notice it doesn't give you the suggestion for that entry. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #67 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 133045 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133045&action=edit Bug 27113: Focus the input after selecting "Search the catalog" Small fix to focus the input after clicking "Search the catalog" in staff interface. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132360|0 |1 is obsolete| | --- Comment #68 from Blou <philippe.blouin@inlibro.com> --- Created attachment 133407 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133407&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133045|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133042|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132808|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132362|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132361|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132364|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133407|0 |1 is obsolete| | --- Comment #69 from Blou <philippe.blouin@inlibro.com> --- Created attachment 133409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133409&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132363|0 |1 is obsolete| | --- Comment #70 from Blou <philippe.blouin@inlibro.com> --- Created attachment 133410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133410&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #71 from Blou <philippe.blouin@inlibro.com> --- I know it's bad form, but since we've been told the functionality requires a re-engineering to use the REST api, a lot of rebase are going to happen until we get this on the master, so I squashed it all. Well, not all, I kept the one patch contributed from outside our company. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133409|0 |1 is obsolete| | --- Comment #72 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 136312 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136312&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133410|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #73 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Squashed the two patches at the request of Blou. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133409|1 |0 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136312|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133410|1 |0 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #74 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Nevermind. Put back the last two patches. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133409|0 |1 is obsolete| | --- Comment #75 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 136456 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136456&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133410|0 |1 is obsolete| | --- Comment #76 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 136457 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136457&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #77 from David Nind <david@davidnind.com> --- Created attachment 136464 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136464&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #78 from David Nind <david@davidnind.com> --- Created attachment 136465 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136465&action=edit Bug 27113 - Advanced search - more options display issue I've added a follow-up with my suggestions for the descriptions for the two new system preferences. I've changed the status to Failed QA as there is a slight issue with the staff interface advanced search > more options after the patch is applied. See the attached screenshots. Also, something for QA to comment on. The spelling for Elasticsearch - the s in search is not capitalised, as it is the product name (not ElasticSearch). Does this need changing for the preference names, and the other code in the patches? Can confirm everything continues to work otherwise, and I like it! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #79 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 136653 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136653&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #80 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Fixed the little display issue. Also, does anyone know how to have the same relative path to one file from both OPAC and staff interface url? (e.g. http://master/api/elasticsearch/elasticsearch.pl and http://master-intranet/api/elasticsearch/elasticsearch.pl) With this we would only need to create one .pl file to be used by both interface instead of one for each. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136456|0 |1 is obsolete| | --- Comment #81 from David Nind <david@davidnind.com> --- Created attachment 136657 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136657&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136457|0 |1 is obsolete| | --- Comment #82 from David Nind <david@davidnind.com> --- Created attachment 136658 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136658&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136464|0 |1 is obsolete| | --- Comment #83 from David Nind <david@davidnind.com> --- Created attachment 136659 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136659&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136653|0 |1 is obsolete| | --- Comment #84 from David Nind <david@davidnind.com> --- Created attachment 136660 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136660&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #85 from David Nind <david@davidnind.com> --- (In reply to Shi Yao Wang from comment #80)
Fixed the little display issue.
Thanks!
Also, does anyone know how to have the same relative path to one file from both OPAC and staff interface url? (e.g. http://master/api/elasticsearch/elasticsearch.pl and http://master-intranet/api/elasticsearch/elasticsearch.pl)
With this we would only need to create one .pl file to be used by both interface instead of one for each.
Sorry, I don't. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=25532 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #86 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
Also, does anyone know how to have the same relative path to one file from both OPAC and staff interface url? (e.g. http://master/api/elasticsearch/elasticsearch.pl and http://master-intranet/api/elasticsearch/elasticsearch.pl)
With this we would only need to create one .pl file to be used by both interface instead of one for each.
Sorry, I don't.
AFAIK it's not possible to share files between OPAC and staff interface. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #87 from Fridolin Somers <fridolin.somers@biblibre.com> --- You can with REST API. Public routes are same file between OPAC and staff : https://wiki.koha-community.org/wiki/REST_api_RFCs#Unprivileged_.28public.29... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136657|0 |1 is obsolete| | --- Comment #88 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137436 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137436&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136658|0 |1 is obsolete| | --- Comment #89 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137437 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137437&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136659|0 |1 is obsolete| | --- Comment #90 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137438 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137438&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136660|0 |1 is obsolete| | --- Comment #91 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137439 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137439&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #92 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Fixed an encoding/display problem when using "é", "ù", etc. (In reply to Fridolin Somers from comment #87)
You can with REST API. Public routes are same file between OPAC and staff : https://wiki.koha-community.org/wiki/REST_api_RFCs#Unprivileged_.28public. 29_routes
I don't know how to do it, but I think it would be a good idea. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |In Discussion --- Comment #93 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- First of all: I quite like the functionality and how this looks. It also appears to be pretty fast and accurate as far as I can tell. I especially like that it's not only available for the keyword index, but also on other search options like author search and limits the results down accordingly. That said: There are a couple things here that would require fixing and a big question we need to resolve for moving this forward. The small stuff: 1) In the database update, there should still be a description for the system preference. 2) sysprefs.sql is sorted alphabetically to avoid conflicts, please move the prefs into the correct places. 3) Instead of use strict; use warnings; we use use Modern::Perl; (see PERL2 in coding guidelines) 4) In the database update elasticsearch should be Elasticsearch. Somewhat bigger: 5) I have problems making this work with the "library catalog" and "title" search options in simple search in OPAC. title doesn't give me any results and library catalog looks like author (but it's a keyword search). Something might not be 'wired' correctly there. 6) Updating installations: I believe you also need to reset mappings to make this work? How can we ensure this works out of the box for people updating without them having to "redo" their index configuration? (database update?) 7) sub filterAutocomplete looks complex and I wonder if it should be in the .pl and not in a module where it can be tested. 942 is hardcoded as field for OpacSuppression, which is a little risky. I wonder if it could be more elegant to filter this at search time instead of after? The last big question, I'll refer to the RM: This adds to /svc which is the outdated way of doing things as others have pointed out before. I think in order to move on here and before more time is spend, we should come to a decision of what is required for this patch to make it in and if it needs to be rewritten to use REST API or if this could be an exception. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137436|0 |1 is obsolete| | --- Comment #94 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137780 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137780&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137437|0 |1 is obsolete| | --- Comment #95 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137781 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137781&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137438|0 |1 is obsolete| | --- Comment #96 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137782 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137782&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137439|0 |1 is obsolete| | --- Comment #97 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 137783 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137783&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #98 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- (In reply to Katrin Fischer from comment #93)
First of all: I quite like the functionality and how this looks. It also appears to be pretty fast and accurate as far as I can tell. I especially like that it's not only available for the keyword index, but also on other search options like author search and limits the results down accordingly.
That said: There are a couple things here that would require fixing and a big question we need to resolve for moving this forward.
The small stuff: 1) In the database update, there should still be a description for the system preference. 2) sysprefs.sql is sorted alphabetically to avoid conflicts, please move the prefs into the correct places. 3) Instead of use strict; use warnings; we use use Modern::Perl; (see PERL2 in coding guidelines) 4) In the database update elasticsearch should be Elasticsearch.
Somewhat bigger:
5) I have problems making this work with the "library catalog" and "title" search options in simple search in OPAC. title doesn't give me any results and library catalog looks like author (but it's a keyword search). Something might not be 'wired' correctly there. 6) Updating installations: I believe you also need to reset mappings to make this work? How can we ensure this works out of the box for people updating without them having to "redo" their index configuration? (database update?) 7) sub filterAutocomplete looks complex and I wonder if it should be in the .pl and not in a module where it can be tested. 942 is hardcoded as field for OpacSuppression, which is a little risky. I wonder if it could be more elegant to filter this at search time instead of after?
Small stuff fixed. 5) Searching with "title" works for me. Maybe an index issue? or is it just me? "library catalog" search displays suggestions for each search options in this order: title-cover, author, subject, title-series, publisher. What I think probably happened is, since "title" search doesn't work for you, it showed "author" suggestions where you had more match than the maximum number of rows displayed. 6) I don't know :/ 7) I can move it to a module, but which one? Maybe in a new module? if so, where? I reused the code in opac/opac-detail.pl where 942 is hardcoded too. I do think it would be better to filter at search time but I don't know how... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #99 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 139624 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139624&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #100 from Blou <philippe.blouin@inlibro.com> --- Created attachment 141466 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141466&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #101 from Blou <philippe.blouin@inlibro.com> --- Comments from Kate/RM would be appreciated so that Shi Yao (or others) can move ahead with this patch. ShiYao has fixed and commented on the bullet points and this is now in Limbo. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #102 from Blou <philippe.blouin@inlibro.com> --- Created attachment 145167 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145167&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #103 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 146015 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146015&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hammat.wele@inlibro.com --- Comment #104 from Hammat wele <hammat.wele@inlibro.com> --- sub filterAutocomplete moved to a new module and now the filtering is done at the search time. (In reply to Katrin Fischer from comment #93)
6) Updating installations: I believe you also need to reset mappings to make this work? How can we ensure this works out of the box for people updating without them having to "redo" their index configuration? (database update?)
It's been wrote in the test plan by precaution but there is no need reset mappings to make this work. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Andreas Roussos <a.roussos@dataly.gr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.roussos@dataly.gr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ivan.dziuba@inlibro.com |hammat.wele@inlibro.com Depends on| |30790, 25870 CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #105 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Waiting for some work on bug 25870 and bug 30790 to continue this. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25870 [Bug 25870] Add a q_ccl query parameter to /biblios https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30790 [Bug 30790] Add REST API route to list biblios -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Jessie Zairo <jzairo@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzairo@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Bug 27113 depends on bug 30790, which changed state. Bug 30790 Summary: Add REST API route to list biblios https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30790 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|30790 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30790 [Bug 30790] Add REST API route to list biblios -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Eric Bégin <eric.begin@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ivan.dziuba@inlibro.com, | |the-minh.luong@inlibro.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32734 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32734 [Bug 32734] REST API: Add a list endpoint for Biblios -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Bug 27113 depends on bug 32734, which changed state. Bug 32734 Summary: REST API: Add a list endpoint for Biblios https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32734 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133042|1 |0 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133042|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137781|0 |1 is obsolete| | --- Comment #106 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159769 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159769&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137782|0 |1 is obsolete| | --- Comment #107 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159770 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159770&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137783|0 |1 is obsolete| | --- Comment #108 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159771 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159771&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139624|0 |1 is obsolete| | --- Comment #109 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159772 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159772&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141466|0 |1 is obsolete| | --- Comment #110 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159773 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159773&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145167|0 |1 is obsolete| | --- Comment #111 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159774 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159774&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #146015|0 |1 is obsolete| | --- Comment #112 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 159775 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159775&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |salah.ghedda@inlibro.com --- Comment #113 from Salah Ghedda <salah.ghedda@inlibro.com> --- Rebased -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #137780|0 |1 is obsolete| | --- Comment #114 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160134 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160134&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159769|0 |1 is obsolete| | --- Comment #115 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160135 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160135&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159770|0 |1 is obsolete| | --- Comment #116 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160136 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160136&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159771|0 |1 is obsolete| | --- Comment #117 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160137 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160137&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159772|0 |1 is obsolete| | --- Comment #118 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160138 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160138&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159773|0 |1 is obsolete| | --- Comment #119 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160139 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160139&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159774|0 |1 is obsolete| | --- Comment #120 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160140 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160140&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Salah Ghedda <salah.ghedda@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159775|0 |1 is obsolete| | --- Comment #121 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160141 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160141&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #122 from Salah Ghedda <salah.ghedda@inlibro.com> --- Created attachment 160142 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160142&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #123 from Magnus Enger <magnus@libriotech.no> --- (In reply to Katrin Fischer from comment #93)
The last big question, I'll refer to the RM: This adds to /svc which is the outdated way of doing things as others have pointed out before. I think in order to move on here and before more time is spend, we should come to a decision of what is required for this patch to make it in and if it needs to be rewritten to use REST API or if this could be an exception.
As far as I can see, the patches are still adding to svc, not the REST API? So I guess we need to resolve this question for the bug to move forward? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #124 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I believe we had a plan here involving solving bug 25870 first as a better base for the work here. It's already linked as a dependency, but needs some more work right now. I know a lot of people would love to see this functionality and I hope we can figure out the implementation bits this cycle. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160142|0 |1 is obsolete| | Attachment #160142|1 |0 is patch| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #125 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 161076 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161076&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #161076|0 |1 is obsolete| | Attachment #161076|1 |0 is patch| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #126 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 161077 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161077&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #127 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Katrin Fischer from comment #124)
I believe we had a plan here involving solving bug 25870 first as a better base for the work here. It's already linked as a dependency, but needs some more work right now.
I know a lot of people would love to see this functionality and I hope we can figure out the implementation bits this cycle.
Can you have a look at bug 25870 maybe? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #128 from Matthias Le Gac <matthias.le-gac@inlibro.com> --- Created attachment 163826 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163826&action=edit Bug 27113: Fix the issue of the cursor not displaying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |BLOCKED --- Comment #129 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Blocked by bug 25870 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160134|0 |1 is obsolete| | --- Comment #130 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165895 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165895&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160135|0 |1 is obsolete| | --- Comment #131 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165896 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165896&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160136|0 |1 is obsolete| | --- Comment #132 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165897 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165897&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160137|0 |1 is obsolete| | --- Comment #133 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165898 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165898&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160138|0 |1 is obsolete| | --- Comment #134 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165899 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165899&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160139|0 |1 is obsolete| | --- Comment #135 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165900 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165900&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160140|0 |1 is obsolete| | --- Comment #136 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165901 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165901&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #160141|0 |1 is obsolete| | --- Comment #137 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165902 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165902&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #161077|0 |1 is obsolete| | --- Comment #138 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165903 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165903&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #163826|0 |1 is obsolete| | --- Comment #139 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165904 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165904&action=edit Bug 27113: Fix the issue of the cursor not displaying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #140 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- rebase -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Koha collecto <koha@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@collecto.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #141 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165913 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165913&action=edit Bug 27113: Fix input size of all searchbar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Shi Yao Wang <shi-yao.wang@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165913|0 |1 is obsolete| | --- Comment #142 from Shi Yao Wang <shi-yao.wang@inLibro.com> --- Created attachment 165922 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165922&action=edit Bug 27113: Fix input size of all searchbar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27428 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27428 [Bug 27428] Show the number of records in the bibliographic record detail page with ElasticSearch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #143 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #124)
I believe we had a plan here involving solving bug 25870 first as a better base for the work here. It's already linked as a dependency, but needs some more work right now.
I know a lot of people would love to see this functionality and I hope we can figure out the implementation bits this cycle.
I haven't reviewed the patches or comments in depth (I've only skimmed so far), but why would an autocomplete need a q_ccl query parameter on /biblios? It seems to me that bug 25870 is about adding a search endpoint, while this enhancement would be scanning indexes rather than searching them? Perhaps I'm misunderstanding the intent on bug 27113. I'd be worried about searches being done during an autocomplete. I have a lot of big systems that are slow to search (work in progress making search faster), and that wouldn't work at all for them... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #144 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #143)
Perhaps I'm misunderstanding the intent on bug 27113. I'd be worried about searches being done during an autocomplete. I have a lot of big systems that are slow to search (work in progress making search faster), and that wouldn't work at all for them...
Then I look at bug 27428 and I see how search might get involved... although honestly I'd do that as a follow-up later... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #145 from David Cook <dcook@prosentient.com.au> --- Correct me if I'm wrong but wouldn't the most logical way to move forward with bug 27113 would be to temporarily drop the dependency on bug 27428? That feature, which would depend on bug 25870, could then be added later? Heck, it could even be trialled in prod using a Koha plugin, since it would primarily be an added API endpoint and some Javascript, no? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|BLOCKED |Failed QA --- Comment #146 from David Cook <dcook@prosentient.com.au> --- FYI tiny merge conflict when applying this at the moment: --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@@ -91,8 -91,8 +91,14 @@@ }); </script> [% END %] ++<<<<<<< HEAD + +[% IF Koha.Preference( 'CookieConsent' ) %] + [% Asset.js("js/cookieconsent.js") | $raw %] ++======= + <!-- Intranet inc JS IntranetAutocompleteElasticSearch --> + [% IF ( Koha.Preference('IntranetAutocompleteElasticSearch') ) %] + [% Asset.js("js/elasticsearch/autocomplete.js") | $raw %] ++>>>>>>> Bug 27113: ElasticSearch: Autocomplete in input search [% END %] <!-- / js_includes.inc --> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #147 from David Cook <dcook@prosentient.com.au> --- Note: I think we want to use "suggestable" rather than "suggestible" here. The first one, in a technical context, meant to be able to be suggest. "Suggestible" means being easily persuaded by a suggestion. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #148 from David Cook <dcook@prosentient.com.au> --- (Failure) Note: When using koha-testing-docker and the staff interface, if I type in "test" the autocomplete will expand the search bar vertically downwards and show "Testing" underneath "test". It doesn't look good[1], but I continue onwards... I click "Testing". It shows me a "*" instead of "Testing". I try a few more times... and now instead of "*" it shows "test", but it still doesn't show "Testing" which is the actual text I clicked on to search... [1] The UI display gets much worse if I type in "e". It makes the whole masthead expand which looks bad. Also, the autocomplete just looks like a mass of text. Adding some striping on the lines would probably be useful, and text highlight so you know which option you're choosing... -- Interestingly when I type in "e" and choose an option, it will show the autocomplete option in the search bar IF it goes to the search results. If it goes directly to the record, it shows a search query from a long time ago (for example "test" even though I've been searching for "e" for a while now). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #149 from David Cook <dcook@prosentient.com.au> --- Realising now that I needed to rebuild the CSS. It would be good to provide an up-to-date test plan, especially one geared towards koha-testing-docker, which is what most testers will be using. -- With the re-built CSS, the staff interface auto complete is looking much better, but it still looks a little weird. It's a rectangular white text box that overlaps with the masthead. Ah it has the text highlighting now and the separation of suggestions. Excellent. NOTE: If you have a long autocomplete list, it clashes with the search toolbar on the search result page. It displays UNDER the "Select all | Clear all | Unhighlight | Add to cart... etc" when it should be displaying OVER. Additionally, it might make more sense to show 3-5 options instead of 10 and have a scroll so that you can look through the options. 10 options takes up a lot of the page... -- NOTE: It would be interesting to test this against a very large ES database. It's very fast on koha-testing-docker, but it only has ~400 bib records. Note: I notice that there's no loading icon for the autocomplete. Even on a small database, there's a slight lag until the autocomplete results show. It might be good to have a small loading icon in the search bar. (Just a nice to have. Not the end of the world if there isn't one, although on a large database, it might be a problem.) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #150 from David Cook <dcook@prosentient.com.au> --- Note: The autocomplete appears even when writing advanced queries in the "Search catalog" box. I don't know if that's a good thing or a bad thing. Just an observation. I just wanted to see what it was like for an advanced query vs a simple query. I like that it stops trying to autocomplete on the 5th character. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #151 from David Cook <dcook@prosentient.com.au> --- Btw, it would be interesting to explore changing "_build_query_autocomplete" to include "OpacSuppression" with say a Boolean query, as it would be ideal to include the OpacSuppression search at the search engine level. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #152 from David Cook <dcook@prosentient.com.au> --- Overall, I have to say that this is a pretty cool feature. We're almost exclusively using Elasticsearch now over Zebra, so I can probably help move this along. (I'm no good with dev meetings due to timezones, but let's try to hash out this bug 25870 issue.) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #153 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to David Cook from comment #152)
Overall, I have to say that this is a pretty cool feature.
We're almost exclusively using Elasticsearch now over Zebra, so I can probably help move this along. (I'm no good with dev meetings due to timezones, but let's try to hash out this bug 25870 issue.)
I'd be really happy to have this feature in 25.05 and team work is the best work :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165895|0 |1 is obsolete| | --- Comment #154 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177537 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177537&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165896|0 |1 is obsolete| | --- Comment #155 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177538 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177538&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165897|0 |1 is obsolete| | --- Comment #156 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177539 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177539&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165898|0 |1 is obsolete| | --- Comment #157 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177540 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177540&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165899|0 |1 is obsolete| | --- Comment #158 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177541 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177541&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165900|0 |1 is obsolete| | --- Comment #159 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177542 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177542&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165901|0 |1 is obsolete| | --- Comment #160 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177543 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177543&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165902|0 |1 is obsolete| | --- Comment #161 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177544 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177544&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165903|0 |1 is obsolete| | --- Comment #162 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177545 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177545&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165904|0 |1 is obsolete| | --- Comment #163 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177546 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177546&action=edit Bug 27113: Fix the issue of the cursor not displaying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165922|0 |1 is obsolete| | --- Comment #164 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177547 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177547&action=edit Bug 27113: Fix input size of all searchbar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #165 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177548 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177548&action=edit Bug 27113: Fix autocomplete list position This patch set the z-index of form-content When you are on the search results page on the intranet, and you do another search that opens the autocomplete dropdown, the results page number is above it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #166 from David Cook <dcook@prosentient.com.au> --- My quick little setup for testing this change: 0. Apply the patch 1. Set SearchEngine to Elasticsearch 2. sudo koha-upgrade-schema kohadev 3. sudo koha-elasticsearch -d -b -r --rebuild -v kohadev 4. perl build-resources.PL 5. Enable IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch sysprefs 6. sudo koha-plack --restart kohadev -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #167 from David Cook <dcook@prosentient.com.au> --- I think Hammat has fixed some of my concerns, but not all of them... -- 1) I'm still noticing that the input for "Search catalog" is wrong when I'm taken to the detail page. For instance: 1. Search "test" in ktd using "Search catalog" (don't worry about autocomplete) 2. Now type in "e" into the "Search catalog" 3. Choose "Early jazz" 4. You should be taken to http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=291&found1=1 5. Note that the input for "Search catalog" says "test" and not "Early jazz" -- 2) The autocomplete suggestions menu looks funny. It starts a bit too far right on the left side, and on the right-side its square edge creates a weird gap with the rounded end of the input for "Search catalog" It's not terrible, but it's... uncomfortable? It just doesn't feel right yet. But close. -- 3) It's still using the SVC API. Switching over to the REST API shouldn't be hard here. Actually, I also notice a api/elasticsearch/elasticsearch.pl which breaks all existing patterns as well. These need to go. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #168 from David Cook <dcook@prosentient.com.au> --- I think you're getting really close here, and I think dropping bug 25870 as a dependency makes a lot of sense. I'm sure some people might argue with me there... but I think it's a reasonable step, especially in the short-term. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177548|0 |1 is obsolete| | --- Comment #169 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 177657 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177657&action=edit Bug 27113: Fix autocomplete list position This patch set the z-index of form-content When you are on the search results page on the intranet, and you do another search that opens the autocomplete dropdown, the results page number is above it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177547|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177537|0 |1 is obsolete| | --- Comment #170 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178822&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177538|0 |1 is obsolete| | --- Comment #171 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178823 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178823&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177539|0 |1 is obsolete| | --- Comment #172 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178824 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178824&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177540|0 |1 is obsolete| | --- Comment #173 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178825 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178825&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177541|0 |1 is obsolete| | --- Comment #174 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178826 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178826&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177542|0 |1 is obsolete| | --- Comment #175 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178827 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178827&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177543|0 |1 is obsolete| | --- Comment #176 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178828 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178828&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177544|0 |1 is obsolete| | --- Comment #177 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178829 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178829&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177545|0 |1 is obsolete| | --- Comment #178 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178830 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178830&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177546|0 |1 is obsolete| | --- Comment #179 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178831 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178831&action=edit Bug 27113: Fix the issue of the cursor not displaying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177657|0 |1 is obsolete| | --- Comment #180 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178832 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178832&action=edit Bug 27113: Fix autocomplete list position This patch set the z-index of form-content When you are on the search results page on the intranet, and you do another search that opens the autocomplete dropdown, the results page number is above it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #181 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 178833 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178833&action=edit Bug 27113: Fix input size of all searchbar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178822|0 |1 is obsolete| | --- Comment #182 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179868 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179868&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178823|0 |1 is obsolete| | --- Comment #183 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179869 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179869&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178824|0 |1 is obsolete| | --- Comment #184 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179870 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179870&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178825|0 |1 is obsolete| | --- Comment #185 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179871 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179871&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178826|0 |1 is obsolete| | --- Comment #186 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179872 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179872&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178827|0 |1 is obsolete| | --- Comment #187 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179873 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179873&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178828|0 |1 is obsolete| | --- Comment #188 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179874 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179874&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178829|0 |1 is obsolete| | --- Comment #189 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179875 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179875&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178830|0 |1 is obsolete| | --- Comment #190 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179876 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179876&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178831|0 |1 is obsolete| | --- Comment #191 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179877 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179877&action=edit Bug 27113: Fix the issue of the cursor not displaying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178832|0 |1 is obsolete| | --- Comment #192 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179878 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179878&action=edit Bug 27113: Fix autocomplete list position This patch set the z-index of form-content When you are on the search results page on the intranet, and you do another search that opens the autocomplete dropdown, the results page number is above it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178833|0 |1 is obsolete| | --- Comment #193 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 179879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179879&action=edit Bug 27113: Fix input size of all searchbar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Eric Bégin <eric.begin@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Eric Bégin <eric.begin@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #194 from David Nind <david@davidnind.com> --- I was going to sign off, but noticed these issues 8-(...: 1. Staff interface only - the patch "Allow for ending special characters in titles" does not seem to work as expected for the staff interface: 1.1 Search for a term that will show suggestions that include brackets, for example: greek 1.2 The suggestions do not show the end bracket. 1.3 If you select a suggestion without the ending bracket, you get "Error: Unable to understand your search query, please rephrase and try again.". 1.4 It seems to work okay in the OPAC. 2. OPAC only - when using the arrow keys to move between suggestions, background text on the page shows through: 2.1 From the OPAC home page, search for perl 2.2 Arrow down the suggestions. 2.3 Note that text behind shows through, for example the links under the global search box. 2.4 Go to the details page for any record. 2.5 Search again for perl 2.6 Arrow down the suggestions until you get to the block with "Place holds", "Print" and so on. 2.7 You may need to adjust the browser width to see this. 2.8 It seems to work okay in the staff interface. 3. Other languages - this is probably out of scope for this bug, but I noticed it anyway: 3.1 If you search for a record with the title in a different language, such as record 243, no suggestions are returned 3.2 For example, there are no suggestions when searching for ١٩٧٨ or السابعة 4. Suggestions for system preference names: 4.1 Instead of IntranetAutocompleteElasticSearch --> StaffInterfaceAutocompleteElasticsearch 4.2 Instead of OPACAutocompleteElasticSearch --> OPACAutocompleteElasticsearch 4.3 Rationale: 4.3.1 We spell Elasticsearch without a capital S everywhere else, as this is the name of the search engine, see Bug 39526 - Unify system preference variable names for Elasticsearch 4.3.2 We should use staff interface instead of intranet for new system preference names (see the terminology list) Consolidated test plan, or how I tested using KTD: 1. Start up KTD with Elasticsearch: ktd --es7 up 2. Apply the patches: git bz apply 27113 3. Update the database: updatedatabase 4. Update the CSS: yarn build 5. Restart everything: restart_all 6. Reset the Elasticsearch mappings: Koha administration > Catalog > Search engine configuration (Elasticsearch) > [scroll to the bottom of the page] > Reset mappings > Yes, reset mappings. 7. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 8. Before enabling the new system preferences for autocomplete, check searching in the OPAC and staff interface - there should be no noticeable change and things should work as expected. (I searched for perl, and got 11 results.) 9. Review the descriptions for the new system preferences and make sure they are clear and make sense (see the suggestions above for name changes): - IntranetAutocompleteElasticSearch - OPACAutocompleteElasticSearch 10. Enable the new system preferences: 11. Test the autocomplete/suggestion features for a standard search in the OPAC and staff interface: 11.1 Simple search, for example: perl - should show a list of suggestions, with the search term you entered highlighted - you can navigate the suggestions using the arrow keys (but not the tab key) - if it is an exact match and only one record (such as Perl template toolkit) it should go to that record - if there is more than one potential match, the one you select should appear first in the search results (such as Programming perl) 11.2 Search for records with quotation marks and brackets in them - change a title for a record so that it is now: MyTitle (1234) - search for My should show in suggestions - search for (1234 should show in suggestions - if you select the suggestion, it should return search results or show the record 11.3 Search for records with diacritics or accents in them, for example: Dàin - should show in the suggestions - should also show without the diacritics or accents, for example: dain 12. Repeat the searches in step 11 in the advanced search for the staff interface and OPAC. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #195 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 185294 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185294&action=edit Bug 27113: Fix autocomplete suggestions across Staff interface and OPAC -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #196 from Hammat wele <hammat.wele@inlibro.com> --- This commit addresses issues 1, 2, and 4 as described above. Issue 3 is not addressed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #197 from Mathieu Saby <mathsabypro@gmail.com> --- David, as you wrote your issue 3 is probably out of scope. If the other are fixed, do you think you would have time to do a new test ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Irene <i.tortorella@arts.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i.tortorella@arts.ac.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #198 from David Nind <david@davidnind.com> --- Sorry it has taken a while to get back to this one! Dependent bug 25870 no longer applies. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179868|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179869|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179870|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179871|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179872|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179873|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179874|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179875|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179876|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179877|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179878|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179879|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #185294|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #199 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196387 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196387&action=edit Bug 27113: ElasticSearch: Autocomplete in input search Usually the user knows only part of the title of the book or only the name of the author, etc. When he start search something Koha (ElasticSearch) predicts the rest of a word or expression which user is typing. Autocomplete predicts that thanks to index of ElasticSearch. TEST PLAN Important! In this patch we need to do reindex ElasticSearch. ElasticSearch must have all information in his index. 1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch !! APPLY PATCH !! 2. Mapping is good (Intranet -> Catalog -> Search engine configuration (Elasticsearch) ). !Recommended 'Reset Mapping' -> 'Yes' 3. In your koha-conf.xml file you must have good <index_name> for <elasticsearch> and version ES 4. Update Preference: ./installer/data/mysql/updatedatabase.pl If that passe good you can look the lines: - DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl - Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with elasticsearch 5. After that we can look two options in the preferences: - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; 4. For add information in the index we must run script for reindexing: ./misc/search_tools/rebuild_elasticsearch.pl -v -d 5. Waiting for the end of indexing 6. Go on Preference and find : - IntranetAutocompleteElasticSearch; - OPACAutocompleteElasticSearch; Value "Show" turn on autocomplete. 7. Now we have Autocomplete for Intranet/OPAC search input (advanced search also). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #200 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196388&action=edit Bug 27113: (follow-up) Move new CSS to main SCSS files This patch removes the separate CSS files added for the autocomplete feature and puts them into the "main" SCSS files. I think a separate file isn't necessary because the amount of CSS it adds is so small. I've also tweaked the style of the autocomplete menu shown when you use the arrow keys to navigate through the autocomplete choices. I think the previous white-on-light-green didn't have enough contrast. To test you must rebuild the OPAC and staff client CSS: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff... Follow the previous test plan, being careful to observe how it works when the autocomplete menu has been triggered and you use the arrow keys to navigate through the results. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #201 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196389&action=edit Bug 27113: (follow-up) Update descriptions for system preferences Update the descriptions for the new system preferences - IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch. Test plan: 1. Review the descriptions for the IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch system preferences. 2. Make sure they are readable and make sense. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #202 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196390 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196390&action=edit Bug 27113: (follow-up) fix adv. searches - more options display issue Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #203 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196391 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196391&action=edit Bug 27113: (follow-up) replace removed GetMarcBiblio Patch from commit 934c677 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #204 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196392&action=edit Bug 27113: Allow for ending special characters in titles Modifies the cleanup regex that removed )}' and " endings from the suggested titles or authors. When selected without those, the record was not found. Ex: "MyTitle (1234)" became "MyTitle (123" in the list. It returned no results, where the full title or "MyTitle 123" would. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #205 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196393&action=edit Bug 27113: (follow-up) diacritics/acccents in sought word would make autocomplete return nothing Patch from commit 151d823 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #206 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196394&action=edit Bug 27113: Move filterAutocomplete to a new module and filter the result at search time Patch from commit 163d723 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #207 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196395&action=edit Bug 27113: Fix the Input Size of the Catalog Search Bar This patch addresses the sizing issue with the catalog search bar, ensuring that the input zone now covers the entire white bar area. TEST PLAN: 1) Apply the patches that precede this one. 2) Activate IntranetAutocompleteElasticSearch and OPACAutocompleteElasticSearch in the system preferences. 2) Click "Catalog search" in the navigation bar. 3) Click on the right side of the white area of the search bar. 4) Confirm that it does not allow you to start typing unless you click on the left side of the search bar. 5) Apply this patch. 6) Repeat steps 2 and 3. 7) Verify that this time it allows you to type in the search bar even if you click on the right side of the searc h bar. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #208 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196396 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196396&action=edit Bug 27113: Fix the issue of the cursor not displaying Patch from commit c2c043b -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #209 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196397 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196397&action=edit Bug 27113: Fix autocomplete list position This patch set the z-index of form-content When you are on the search results page on the intranet, and you do another search that opens the autocomplete dropdown, the results page number is above it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #210 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196398 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196398&action=edit Bug 27113: Fix input size of all searchbar Patch from commit aa415ce -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #211 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196399 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196399&action=edit Bug 27113: Fix autocomplete suggestions across Staff interface and OPAC Patch from commit 707919f -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #212 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 196400 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196400&action=edit Bug 27113: (follow-up) Enhance autocomplete filtering for OPAC and Intranet interfaces Patch from commit 41a8b11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196397|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196398|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196399|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196400|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #213 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200032 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200032&action=edit Bug 27113: Fix autocomplete list position Patch from commit 90ba69e -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #214 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200033 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200033&action=edit Bug 27113: Fix input size of all searchbar Patch from commit 30437ec -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #215 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200034 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200034&action=edit Bug 27113: Fix autocomplete suggestions across Staff interface and OPAC Patch from commit d225f94 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #216 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200035 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200035&action=edit Bug 27113: (follow-up) Enhance autocomplete filtering for OPAC and Intranet interfaces Patch from commit 25eb4ba -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200032|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200033|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200034|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200035|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #217 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200790 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200790&action=edit Bug 27113: Fix autocomplete list position Patch from commit 9737d07 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #218 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200791 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200791&action=edit Bug 27113: Fix input size of all searchbar Patch from commit 1d8c1e3 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #219 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200792 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200792&action=edit Bug 27113: Fix autocomplete suggestions across Staff interface and OPAC Patch from commit 3a175cb -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #220 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 200793 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200793&action=edit Bug 27113: (follow-up) Enhance autocomplete filtering for OPAC and Intranet interfaces Patch from commit 47ec020 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200790|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200791|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200792|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200793|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #221 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 201293 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201293&action=edit Bug 27113: Fix autocomplete list position Patch from commit c295469 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #222 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 201294 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201294&action=edit Bug 27113: Fix input size of all searchbar Patch from commit 68291d3 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #223 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 201295 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201295&action=edit Bug 27113: Fix autocomplete suggestions across Staff interface and OPAC Patch from commit 3767d99 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113 --- Comment #224 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 201296 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201296&action=edit Bug 27113: (follow-up) Enhance autocomplete filtering for OPAC and Intranet interfaces Patch from commit 7eb31c7 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org