[Bug 43759] New: Add reports header search form
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Bug ID: 43759 Summary: Add reports header search form Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org Target Milestone: --- I think it would be useful to add a reports search header search form matching the sidebar filter which is shown on the saved reports view. The header search would then be available when viewing the details of a report, viewing report results, etc. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch Sponsorship status|--- |Sponsored Comma delimited| |Athens County Public list of Sponsors| |Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 207472 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207472&action=edit Bug 43759: Add reports header search form This patch adds a header search form for searching reports. This offers access to reports search on pages other than the reports home page and the saved reports page. To test, apply the patch and test the header search form on each updated page: the reports home page, saved reports (and any page which uses guided_reports_start.tt), and dictionary. Test that the "More options" toggle works correctly, including tests with LimitReportsByLibrary enabled and disabled. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Assuming folks find this useful, should the reports header search form be added to other report pages? Statistics wizards, etc.? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Frédéric Demians <f.demians@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f.demians@tamil.fr --- Comment #3 from Frédéric Demians <f.demians@tamil.fr> --- Before your patch, the header search has 4 options: Check in, Check out, Renew, Search catalog. After your patch, the header search has 4 options: Search reports, Check out, Check in, Search catalog. So "Renew" is lost. "reports header search form" in other reports related pages => Yes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Michael Mundet <michael.mundet@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.mundet@gmail.com --- Comment #4 from Michael Mundet <michael.mundet@gmail.com> --- I tested in a sandbox and the header search returned the expected report on all four pages I tried. On the Saved reports page, I also tried setting `LimitReportsBy` to `Library`, but I didn’t see a Library filter under More options. Could this be related to the patch still checking `LimitReportsByLibrary` in `reports-search.inc` after the preference rename in bug 42621? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #207472|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=43759 --- Comment #5 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 212149 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212149&action=edit Bug 43759: Add reports header search form This patch adds a header search form for searching reports. This offers access to reports search on pages other than the reports home page and the saved reports page. To test, apply the patch and test the header search form on each updated page: the reports home page, saved reports (and any page which uses guided_reports_start.tt), and dictionary. Test that the "More options" toggle works correctly, including tests with LimitReportsByLibrary enabled and disabled. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 --- Comment #6 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Michael Mundet from comment #4)
be related to the patch still checking `LimitReportsByLibrary` in `reports-search.inc` after the preference rename in bug 42621?
Yes. (In reply to Frédéric Demians from comment #3)
So "Renew" is lost.
It's typical that not all circulation-related operations are included in the set of header search forms. I think it's preferable not to have too many. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43759 --- Comment #7 from Michael Mundet <michael.mundet@gmail.com> --- With the updated patch, I can now see the Library dropdown under More options on the Saved reports page when `LimitReportsBy` is set to `Library`. When I switch to `No restriction`, the Show reports dropdown in the sidebar disappears, but the Library dropdown is still visible under More options. Would you expect it to be hidden in the header as well? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org