[Koha-bugs] [Bug 13471] When editing a subscription, the "subscription length type" disregards the stored value, also make SLT translateable.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Dec 28 23:04:03 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13471

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34661|0                           |1
        is obsolete|                            |

--- Comment #5 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 34765
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34765&action=edit
Bug 13471 - When editing a subscription, the "subscription length type"
disregards the stored value, also make SLT translateable.

This issue causes loss of data when the subscription length type (SLT) is other
than issues.

TO REPLICATE:

We make an subscription with SLT of months = 12.
Later make an arbitrary edit to the subscription, and miss out the fact that
the SLT selection is set to issues.
Save the changes.
Serial subscription end date is set to 12 issues since the start date, instead
of 12 months which it used to be.
This causes a myriad of issues :=)

AFTER THIS PATCH:

SLT defaults to the value initially saved instead of always being issues.
Now the selection can be translated!

HOTFIX 1: Added <span> elements to showSubscriptionLengthType.inc so the
translation tool can catch them.

HOTFIX 2: Fixed serials/showpredictionpattern.pl to use the db columns instead
of issues,weeks,months.

HOTFIX 3: Fixed serials/subscription-numberpatterns.pl to use the db columns
instead of issues,weeks,months.

Signed-off-by: Aleisha <aleishaamohia at hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list