Summary: | Hide expired news items by default | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Tools | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | barbara.johnson, fridolin.somers, jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This patch modifies the news page in the staff interface so that expired news items are hidden by default. A checkbox in the sidebar can be checked to show the hidden rows.
|
Version(s) released in: |
21.05.00
|
Circulation function: | |||
Attachments: |
Bug 27766: Hide expired news items by default
Bug 27766: Hide expired news items by default Bug 27766: Hide expired news items by default |
Description
Owen Leonard
2021-02-23 17:18:00 UTC
Created attachment 117213 [details] [review] Bug 27766: Hide expired news items by default This patch modifies the news page in the staff interface so that expired news items are hidden by default. A checkbox in the sidebar can be checked to show the hidden rows. To test you should have multiple news items, some expired and some unexpired. - Apply the patch and go to Tools -> News - The table of news items as it initially appears should not include any expired news items. - In the sidebar, check the "Show expired" checkbox. - The expired news items should now appear. Created attachment 117214 [details] [review] Bug 27766: Hide expired news items by default This patch modifies the news page in the staff interface so that expired news items are hidden by default. A checkbox in the sidebar can be checked to show the hidden rows. To test you should have multiple news items, some expired and some unexpired. - Apply the patch and go to Tools -> News - The table of news items as it initially appears should not include any expired news items. - In the sidebar, check the "Show expired" checkbox. - The expired news items should now appear. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Created attachment 117739 [details] [review] Bug 27766: Hide expired news items by default This patch modifies the news page in the staff interface so that expired news items are hidden by default. A checkbox in the sidebar can be checked to show the hidden rows. To test you should have multiple news items, some expired and some unexpired. - Apply the patch and go to Tools -> News - The table of news items as it initially appears should not include any expired news items. - In the sidebar, check the "Show expired" checkbox. - The expired news items should now appear. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> I would have preferred to have it on top of the table, but not considering it blocker (can be argued it's in the filter block as well!). Pushed to master for 21.05, thanks to everybody involved! I like that. Should we consider backport to 20.11.x ? |