Summary: | News archive | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Persson <xarragon> |
Component: | Staff interface | Assignee: | Martin Persson <xarragon> |
Status: | Patch doesn't apply --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | aleisha, gmcharlt, jonathan.druart, mtompset |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 14272 | ||
Bug Blocks: | 15389 | ||
Attachments: |
Bug 15385: News archive
Bug 15385: News archive Bug 15385: News archive Bug 15385: News archive [SIGNED-OFF] Bug 15385: News archive |
Description
Martin Persson
2015-12-16 13:37:33 UTC
Created attachment 45739 [details] [review] Bug 15385: News archive Adds ability to new old, expired news items in an archive. Test plan: * Add several news items, some of which should have an expired date. * Go to Global system preferences, Enable 'NewsArchiveEnabled'. * Go to the OPAC main page. The non-expired news should be shown. * A link should be shown in the lower right-hand side of the page, "Archived news". Click it. ALL news items should be shown. * Go back to Global system preferences, Disable 'NewsArchiveEnabled'. * No 'Archived news' link should be shown on the OPAC main page. * If you manually add '?id=all' to the OPAC main page URL, the standard page should be shown and the parameter ignored. Sponsored-By: Halland County Library Created attachment 45742 [details] [review] Bug 15385: News archive Adds ability to new old, expired news items in an archive. Test plan: * Add several news items, some of which should have an expired date. * Go to Global system preferences, Enable 'NewsArchiveEnabled'. * Go to the OPAC main page. The non-expired news should be shown. * A link should be shown in the lower right-hand side of the page, "Archived news". Click it. ALL news items should be shown. * Go back to Global system preferences, Disable 'NewsArchiveEnabled'. * No 'Archived news' link should be shown on the OPAC main page. * If you manually add '?id=all' to the OPAC main page URL, the standard page should be shown and the parameter ignored. Updates: * Renamed 'id' to 'news_id' (from update in 14272) Sponsored-By: Halland County Library Created attachment 45871 [details] [review] Bug 15385: News archive Adds ability to new old, expired news items in an archive. Test plan: * Add several news items, some of which should have an expired date. * Go to Global system preferences, Enable 'NewsArchiveEnabled'. * Go to the OPAC main page. The non-expired news should be shown. * A link should be shown in the lower right-hand side of the page, "Archived news". Click it. ALL news items should be shown. * Go back to Global system preferences, Disable 'NewsArchiveEnabled'. * No 'Archived news' link should be shown on the OPAC main page. * If you manually add '?id=all' to the OPAC main page URL, the standard page should be shown and the parameter ignored. Updates: * Renamed 'id' to 'news_id' (from update in 14272) * Added breadcrumbs Sponsored-By: Halland County Library Patch doesn't apply: Applying: Bug 15385: News archive fatal: sha1 information is lacking or useless (koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 15385: News archive Created attachment 47559 [details] [review] Bug 15385: News archive Adds ability to new old, expired news items in an archive. Test plan: * Add several news items, some of which should have an expired date. * Go to Global system preferences, Enable 'NewsArchiveEnabled'. * Go to the OPAC main page. The non-expired news should be shown. * A link should be shown in the lower right-hand side of the page, "Archived news". Click it. ALL news items should be shown. * Go back to Global system preferences, Disable 'NewsArchiveEnabled'. * No 'Archived news' link should be shown on the OPAC main page. * If you manually add '?id=all' to the OPAC main page URL, the standard page should be shown and the parameter ignored. Updates: * Renamed 'id' to 'news_id' (from update in 14272) * Added breadcrumbs Sponsored-By: Halland County Library I did not sign off. I merely rebased till it applied nicely. Created attachment 47674 [details] [review] [SIGNED-OFF] Bug 15385: News archive Adds ability to new old, expired news items in an archive. Test plan: * Add several news items, some of which should have an expired date. * Go to Global system preferences, Enable 'NewsArchiveEnabled'. * Go to the OPAC main page. The non-expired news should be shown. * A link should be shown in the lower right-hand side of the page, "Archived news". Click it. ALL news items should be shown. * Go back to Global system preferences, Disable 'NewsArchiveEnabled'. * No 'Archived news' link should be shown on the OPAC main page. * If you manually add '?id=all' to the OPAC main page URL, the standard page should be shown and the parameter ignored. Updates: * Renamed 'id' to 'news_id' (from update in 14272) * Added breadcrumbs Sponsored-By: Halland County Library Signed-off-by: Aleisha <aleishaamohia@hotmail.com> |