]> git.koha-community.org Git - koha.git/commit
Bug 27766: Hide expired news items by default
authorOwen Leonard <oleonard@myacpl.org>
Tue, 23 Feb 2021 17:25:47 +0000 (17:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Mar 2021 14:05:31 +0000 (15:05 +0100)
commit3432b3bd5e9b5a5384bc3243e3d4b1629bd76496
tree6f9828576bdec64e686cedb438a06cd9e0488954
parentc473a703329f9ff9edaa0b5788eb38be4bf2f897
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt