]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Aug 2014 10:29:04 +0000 (12:29 +0200)
commitb09992638b837da8f709dae5c5a0cbe03eaf7362
treedb1aadd6b1680afa8298ce9f2a426ff2d63258a3
parentb2443c580f8d58ee0a74fd50078b05eab5eda6b2
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt