]> git.koha-community.org Git - koha.git/commit
Bug 11752: display the correct frequency for serial subscriptions in OPAC details
authorBlou <philippe.blouin@inlibro.com>
Wed, 12 Feb 2014 17:03:08 +0000 (12:03 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 14:36:03 +0000 (10:36 -0400)
commit0f02ea6d0862c8751388bea2e1b5aa733da489ae
treea47fea7339a2b2de080064d5cb0ee75eab5097f1
parenta556116fe908dab21058d3296939ded8a7e7c5ff
Bug 11752: display the correct frequency for serial subscriptions in OPAC details

This fixes bootstrap and prog by modifying the description displayed
in the OPAC's detail of serials.

RM NOTE: this patch does not cover the case where custom serial
frequencies have been defined.

TESTING to reproduce
- create/find a serial with a 1/week periodicity (4 in the database)
- Find it in the opac-detail.pl, click "more details" at the bottom
- validate the string.  Before the patch, it will say:
"The current subscription began on 2013-12-06 and is issued every 3
 weeks for 26 issues"

The "every 3 weeks" is clearly wrong.
In fact any periodicity chosen would display a wrong description, not
matching the staff interface.

After the patch, the display is corrected.

As a bonus, the "every 2 years" now has a description, where it had
none before.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 7f1e949ea0e8d05b641ddbcb4582a3e1bc913ecd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt