Bugzilla – Attachment 11050 Details for
Bug 5409
Call number is not show on Opac search result page.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 5409 [2] Call number is not show on Opac search result page.
0001-SIGNED-OFF-Bug-5409-Call-number-is-not-show-on-Opac-.patch (text/plain), 1.83 KB, created by
Owen Leonard
on 2012-07-20 14:43:05 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5409 [2] Call number is not show on Opac search result page.
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-07-20 14:43:05 UTC
Size:
1.83 KB
patch
obsolete
>From 667dee2439c963cccabf906b704c2cb3297d36ed Mon Sep 17 00:00:00 2001 >From: "Meenakshi.R" <meenakshi.r@osslabs.biz> >Date: Fri, 15 Jun 2012 11:10:59 +0530 >Subject: [PATCH] [SIGNED-OFF] Bug 5409 - Call number is not show on Opac > search result page. >Content-Type: text/plain; charset="utf-8" > >Fixes Bug 5409, Set the syspref value to 1 if it is itemdetails and 0 if it >is statuses, leaving it alone if it is already 1 or 0 and change the type >of the syspref to YesNo. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > installer/data/mysql/updatedatabase.pl | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index bb96644..210025f 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -5536,6 +5536,15 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "3.09.00.XXX"; >+if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >+ $dbh->do("UPDATE systempreferences set value=0 WHERE variable='OPACItemsResultsDisplay' AND value='statuses'"); >+ $dbh->do("UPDATE systempreferences set value=1 WHERE variable='OPACItemsResultsDisplay' AND value='itemdetails'"); >+ $dbh->do("UPDATE systempreferences SET explanation='If No, show only the status of items in result list. If Yes, show full location of items (branchlocation+callnumber) as in staff interface',options=NULL,type='YesNo' WHERE variable='OPACItemsResultsDisplay'"); >+ print "Upgrade to $DBversion done (Fixes Bug 5409, Set the syspref value to 1 if it is itemdetails and 0 if it is statuses, leaving it alone if it is already 1 or 0 and change the type of the syspref to YesNo.)\n"; >+ SetVersion ($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.7.9.5 >
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 5409
:
2754
|
10288
|
11049
|
11050
|
12300
|
12425
|
12426
|
12427