Bugzilla – Attachment 12300 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]
Attaching the latest patch.
0001-Bug-5409-Call-number-is-not-show-on-Opac-search-resu.patch (text/plain), 3.26 KB, created by
Meenakshi
on 2012-09-18 10:21:56 UTC
(
hide
)
Description:
Attaching the latest patch.
Filename:
MIME Type:
Creator:
Meenakshi
Created:
2012-09-18 10:21:56 UTC
Size:
3.26 KB
patch
obsolete
>From 50a4c2cd5bc29b717acf552722bc3be9d1c4fe3a Mon Sep 17 00:00:00 2001 >From: Meenakshi.R<meenakshi.r@osslabs.biz> >Date: Tue, 18 Sep 2012 13:30:19 +0530 >Subject: [PATCH] Bug 5409 - Call number is not show on Opac search result page. > >Fixes Bug 5409, Modified the definition of 'OPACItemsResultsDisplay' in systempreferences and changed the code in opac-search.pl file for 'OPACItemsResultsDisplay'. >--- > installer/data/mysql/sysprefs.sql | 2 +- > opac/opac-search.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 6a53379..873dd9c 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -172,7 +172,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACViewOthersSuggestions',0,'If ON, allows all suggestions to be displayed in the OPAC',NULL,'YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACURLOpenInNewWindow',0,'If ON, URLs in the OPAC open in a new window',NULL,'YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACUserCSS','','Add CSS to be included in the OPAC in an embedded <style> tag.',NULL,'free'); >-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACItemsResultsDisplay',"statuses",'statuses : show only the status of items in result list. itemdisplay : show full location of items (branch+location+callnumber) as in staff interface',"statuses|itemdetails",'Choice'); >+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACItemsResultsDisplay',0,'If OFF : show only the status of items in result list.If ON : show full location of items (branch+location+callnumber) as in staff interface','','YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('uppercasesurnames',0,'If ON, surnames are converted to upper case in patron entry form',NULL,'YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CircControl',"ItemHomeLibrary",'Specify the agency that controls the circulation and fines policy',"PickupLibrary|PatronLibrary|ItemHomeLibrary",'Choice'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesCalendar',"noFinesWhenClosed",'Specify whether to use the Calendar in calculating duedates and fines',"ignoreCalendar|noFinesWhenClosed",'Choice'); >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index 1e5a0d7..c3af6d2 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -689,7 +689,7 @@ for (my $i=0;$i<@servers;$i++) { > $hide = ($hide =~ m/\S/) if $hide; # Just in case it has some spaces/new lines > $template->param( > SEARCH_RESULTS => \@newresults, >- OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0), >+ OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay")), > suppress_result_number => $hide, > ); > if (C4::Context->preference("OPACLocalCoverImages")){ >-- >1.6.4.2 >
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