Bug 15385 - News archive
Summary: News archive
Status: Patch doesn't apply
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Persson
QA Contact: Testopia
URL:
Keywords:
Depends on: 14272
Blocks: 15389
  Show dependency treegraph
 
Reported: 2015-12-16 13:37 UTC by Martin Persson
Modified: 2021-01-06 11:57 UTC (History)
4 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 15385: News archive (4.56 KB, patch)
2015-12-16 22:16 UTC, Martin Persson
Details | Diff | Splinter Review
Bug 15385: News archive (4.66 KB, patch)
2015-12-16 22:56 UTC, Martin Persson
Details | Diff | Splinter Review
Bug 15385: News archive (5.03 KB, patch)
2015-12-18 21:20 UTC, Martin Persson
Details | Diff | Splinter Review
Bug 15385: News archive (5.07 KB, patch)
2016-02-02 15:35 UTC, Mark Tompsett
Details | Diff | Splinter Review
[SIGNED-OFF] Bug 15385: News archive (5.13 KB, patch)
2016-02-05 01:30 UTC, Aleisha Amohia
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Persson 2015-12-16 13:37:33 UTC
Expired news will be visible in an "archive" reachable from the public OPAC.
Comment 1 Martin Persson 2015-12-16 22:16:37 UTC Comment hidden (obsolete)
Comment 2 Martin Persson 2015-12-16 22:56:46 UTC Comment hidden (obsolete)
Comment 3 Martin Persson 2015-12-18 21:20:34 UTC Comment hidden (obsolete)
Comment 4 Aleisha Amohia 2016-01-11 22:11:31 UTC
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
Comment 5 Mark Tompsett 2016-02-02 15:35:43 UTC Comment hidden (obsolete)
Comment 6 Mark Tompsett 2016-02-02 15:39:32 UTC
I did not sign off. I merely rebased till it applied nicely.
Comment 7 Aleisha Amohia 2016-02-05 01:30:50 UTC
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>
Comment 8 Jonathan Druart 2016-02-09 11:46:05 UTC
Blocked by bug 14272.