]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Apr 2014 21:28:03 +0000 (21:28 +0000)
commit7f1e949ea0e8d05b641ddbcb4582a3e1bc913ecd
tree34d83b8ccf6cd2966f500abfb9c539c807a221e9
parent90643958921caeed76b94012ce9590c07f7da9ec
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt