Bugzilla – Attachment 51572 Details for
Bug 16200
'Hold waiting too long' fee has a translation problem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16200: Convert all existing expired holds accounttype to HE
Bug-16200-Convert-all-existing-expired-holds-accou.patch (text/plain), 1.50 KB, created by
Lari Taskula
on 2016-05-17 13:37:49 UTC
(
hide
)
Description:
Bug 16200: Convert all existing expired holds accounttype to HE
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-05-17 13:37:49 UTC
Size:
1.50 KB
patch
obsolete
>From 89544fa2198c02b4604c63318f65106c250523da Mon Sep 17 00:00:00 2001 >From: Lari Taskula <larit@student.uef.fi> >Date: Tue, 17 May 2016 14:44:45 +0300 >Subject: [PATCH] Bug 16200: Convert all existing expired holds accounttype to > HE > >Before Bug 16200 expired holds have used accounttype F which is also used by >other type of fines. This patch updates all existing expired holds to new >accounttype HE (Hold Expired). > >To test: >-1. Make sure you translated the string in previous patch of this bug >1. Find a Patron with "Hold waiting too long" fines and go to his Fines tab >2. Change Koha's language to some other than English >3. Observe that "Hold waiting too long" is still in English >4. Apply patch and run database update >5. Go back to Patron's Fines tab >6. Observe that "Hold waiting too long" is now translated >--- > .../atomicupdate/Bug_16200_Convert_expired_holds_to_accounttype_HE.sql | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 installer/data/mysql/atomicupdate/Bug_16200_Convert_expired_holds_to_accounttype_HE.sql > >diff --git a/installer/data/mysql/atomicupdate/Bug_16200_Convert_expired_holds_to_accounttype_HE.sql b/installer/data/mysql/atomicupdate/Bug_16200_Convert_expired_holds_to_accounttype_HE.sql >new file mode 100644 >index 0000000..e1d5df0 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/Bug_16200_Convert_expired_holds_to_accounttype_HE.sql >@@ -0,0 +1 @@ >+UPDATE accountlines SET accounttype='HE', description=itemnumber WHERE (description REGEXP '^Hold waiting too long [0-9]+'); >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16200
:
51571
|
51572
|
51574
|
51589
|
51590
|
51605
|
51631
|
51632