[Bug 36920] New: Greater/less than search option on item search page to Barcode-drop-down menu
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Bug ID: 36920 Summary: Greater/less than search option on item search page to Barcode-drop-down menu Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: tuomas.kunttu@kouvola.fi QA Contact: testopia@bugs.koha-community.org Created attachment 167017 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167017&action=edit Barcode search section on item search page In the search section on the item search page, where the drop-down menu has a barcode search by default (see attachment image), it would be useful to have the option to do greater/less than searches as well. Now there are only is/is not options. When searching publication year in this menu, this functionality would be useful. This way you could search for works that have been published before/after a certain year. In addition, custom search fields can be added to the menu. These can be, for example, acquisition date or lastseen date. Also with these fields greater/less than searches would be useful. In fields containing letters, greater/less than searches are not necessarily very useful, but not harmful either. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Katariina Pohto <trainee@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |trainee@koha-suomi.fi |ity.org | Status|NEW |ASSIGNED CC| |trainee@koha-suomi.fi -- 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=36920 --- Comment #1 from Katariina Pohto <trainee@koha-suomi.fi> --- Created attachment 167105 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167105&action=edit Bug 36920: Greater/less than search option for item search page field drop-down menu This patch adds '>' and '<' operators to the search. 1. Go to item search page and navigate to the field drop-down menu (default value Barcode). 2. Note that the operator choices for this search menu are 'is' and 'is not'. 3. Apply patch and refresh cache. 4. Navigate back to the menu and note that the operator menu now includes '<' and '>'. 5. Select one of the new values and refresh page to see that the selection stays. 6. Test a field or several with the new operators to see that the new operators are working as intended. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Katariina Pohto <trainee@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 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=36920 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167105|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 167296 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167296&action=edit Bug 36920: Greater/less than search option for item search page field drop-down menu The field drop-down menu (including custom fields) can currently only use operators 'is' (LIKE) and 'is not' (NOT LIKE). Greater and less than operators would be useful especially for date fields. This patch adds '>' and '<' operators to the search. 1. Go to item search page and navigate to the field drop-down menu (default value Barcode). 2. Note that the operator choices for this search menu are 'is' and 'is not'. 3. Apply patch and refresh cache. 4. Navigate back to the menu and note that the operator menu now includes '<' and '>'. 5. Choose one of the new values and refresh page to see that the selection remains. 6. Test a field or several with the new operators to see that the new operators are working as intended. 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=36920 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Katariina Pohto <katariina.pohto@ouka.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|katariina.pohto@ouka.fi |koha-bugs@lists.koha-commun | |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=36920 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |emmi.takkinen@koha-suomi.fi |ity.org | CC| |emmi.takkinen@koha-suomi.fi -- 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=36920 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167296|0 |1 is obsolete| | --- Comment #3 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Created attachment 182475 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182475&action=edit Bug 36920: Greater/less than search option for item search page field drop-down menu The field drop-down menu (including custom fields) can currently only use operators 'is' (LIKE) and 'is not' (NOT LIKE). Greater and less than operators would be useful especially for date fields. This patch adds '>' and '<' operators to the search. 1. Go to item search page and navigate to the field drop-down menu (default value Barcode). 2. Note that the operator choices for this search menu are 'is' and 'is not'. 3. Apply patch and refresh cache. 4. Navigate back to the menu and note that the operator menu now includes '<' and '>'. 5. Choose one of the new values and refresh page to see that the selection remains. 6. Test a field or several with the new operators to see that the new operators are working as intended. 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=36920 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- This patch is not tidy. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 --- Comment #5 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Created attachment 189250 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189250&action=edit Bug 36920: Tidy file -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #6 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Tidied file. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182475|0 |1 is obsolete| | Attachment #189250|0 |1 is obsolete| | --- Comment #7 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 189303 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189303&action=edit Bug 36920: Greater/less than search option for item search page field drop-down menu The field drop-down menu (including custom fields) can currently only use operators 'is' (LIKE) and 'is not' (NOT LIKE). Greater and less than operators would be useful especially for date fields. This patch adds '>' and '<' operators to the search. 1. Go to item search page and navigate to the field drop-down menu (default value Barcode). 2. Note that the operator choices for this search menu are 'is' and 'is not'. 3. Apply patch and refresh cache. 4. Navigate back to the menu and note that the operator menu now includes '<' and '>'. 5. Choose one of the new values and refresh page to see that the selection remains. 6. Test a field or several with the new operators to see that the new operators are working as intended. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 --- Comment #8 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 189304 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189304&action=edit Bug 36920: Tidy file Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds release notes| |greater than and less than | |search options on item | |search page field drop-down | |menu. With them staff can | |search e.g. items which | |have release year starting | |from specific year. --- Comment #9 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Added release notes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189303|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=36920 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189304|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=36920 --- Comment #10 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 193578 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193578&action=edit Bug 36920: Greater/less than search option for item search page field drop-down menu The field drop-down menu (including custom fields) can currently only use operators 'is' (LIKE) and 'is not' (NOT LIKE). Greater and less than operators would be useful especially for date fields. This patch adds '>' and '<' operators to the search. 1. Go to item search page and navigate to the field drop-down menu (default value Barcode). 2. Note that the operator choices for this search menu are 'is' and 'is not'. 3. Apply patch and refresh cache. 4. Navigate back to the menu and note that the operator menu now includes '<' and '>'. 5. Choose one of the new values and refresh page to see that the selection remains. 6. Test a field or several with the new operators to see that the new operators are working as intended. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 --- Comment #11 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 193579 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193579&action=edit Bug 36920: Tidy file Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 --- Comment #12 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Release notes have been added, can I remove the keyword "release-notes-needed" or should I leave it to someone else? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 --- Comment #13 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36920 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting CC| |jacob.omara@openfifth.co.uk --- Comment #14 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Enhancement, not backporting. Scream at me if you feel strongly it should be backported. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org