Bugzilla – Attachment 17718 Details for
Bug 9722
Allow users to add notes when placing a hold in opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9722: Allow users to add notes when placing a hold in opac (dbrev)
Bug-9722-Allow-users-to-add-notes-when-placing-a-h.patch (text/plain), 2.99 KB, created by
Marcel de Rooy
on 2013-04-26 14:48:17 UTC
(
hide
)
Description:
Bug 9722: Allow users to add notes when placing a hold in opac (dbrev)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-04-26 14:48:17 UTC
Size:
2.99 KB
patch
obsolete
>From f1cebabb56eac6709cbac8297513a243ba6af177 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 28 Feb 2013 08:53:36 +0100 >Subject: [PATCH] Bug 9722: Allow users to add notes when placing a hold in > opac (dbrev) >Content-Type: text/plain; charset=utf-8 > >Database revision for report 9722, adding new pref OpacShowHoldNotes. >This development is part of a larger one (see umbrella report 9721). > >Test plan: >Run [your server]/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure >Optionally, run a new install to test sysprefs.sql. >Or: >Edit sysprefs.sql, leave at least the last few lines including the new one. >And run from command line: mysql -p [yourdatabase] < [your-clone]/installer/data/mysql/sysprefs.sql > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/sysprefs.sql | 1 + > installer/data/mysql/updatedatabase.pl | 9 +++++++++ > 2 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 5d536c5..d631f88 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -423,3 +423,4 @@ INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ( > INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('DisplayIconsXSLT', '1', '', 'If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.', 'YesNo'); > INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo'); > INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch''s items to emphasize. If PatronBranch, emphasize the logged in user''s library''s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha''s Apache configuration file.','Choice') >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacShowHoldNotes',0,'Show hold notes on OPAC','','YesNo'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 7c97a51..53eaca6 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6441,6 +6441,15 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "3.11.00.XXX"; >+if(CheckVersion($DBversion)) { >+ $dbh->do( >+"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacShowHoldNotes',0,'Show hold notes on OPAC','','YesNo')" >+ ); >+ print "Upgrade to $DBversion done (Bug 9722: Allow users to add notes when placing a hold in OPAC)\n"; >+ SetVersion($DBversion); >+} >+ > > $DBversion = "3.11.00.024"; > if ( CheckVersion($DBversion) ) { >-- >1.7.7.6
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 9722
:
15752
|
15753
|
15806
|
15807
|
15808
|
15834
|
15836
|
17717
|
17718
|
17719
|
17726
|
18342
|
18343
|
18344