Bugzilla – Attachment 12733 Details for
Bug 8701
Help for OpacHiddenItems pref should not point to text in install directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for Bug 8701
8701.patch (text/plain), 4.63 KB, created by
Jane Sandberg
on 2012-10-08 14:34:05 UTC
(
hide
)
Description:
Proposed patch for Bug 8701
Filename:
MIME Type:
Creator:
Jane Sandberg
Created:
2012-10-08 14:34:05 UTC
Size:
4.63 KB
patch
obsolete
>From 1d578bc0350e194ba5b142cd7100b695c8d72cbe Mon Sep 17 00:00:00 2001 >From: Jane Sandberg <jane@dushechka.(none)> >Date: Sun, 7 Oct 2012 17:46:01 -0500 >Subject: [PATCH 1/1] Bug 8701 - Help for OpacHiddenItems pref should not point to text in install directory >Content-Type: text/plain; charset="utf-8" > >--- > installer/data/mysql/sysprefs.sql | 2 +- > installer/data/mysql/updatedatabase.pl | 2 +- > .../prog/en/modules/admin/preferences/opac.pref | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 178ff40..93d6942 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -315,7 +315,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('Display856uAsImage','OFF','Display the URI in the 856u field as an image, the corresponding Staff Client XSLT option must be on','OFF|Details|Results|Both','Choice'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free'); >-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea'); >+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See http://manual.koha-community.org/3.8/en/administration.html#OpacHiddenItems for more informations.','','Textarea'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer'); > INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacRenewalBranch','checkoutbranch','Choose how the branch for an OPAC renewal is recorded in statistics','itemhomebranch|patronhomebranch|checkoutbranch|null','Choice'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('UseTransportCostMatrix',0,"Use Transport Cost Matrix when filling holds",'','YesNo'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index fb389da..34af867 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -4311,7 +4311,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > $DBversion = "3.03.00.050"; > if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > $dbh->do(" >- INSERT IGNORE INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea'); >+ INSERT IGNORE INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See http://manual.koha-community.org/3.8/en/administration.html#OpacHiddenItems for more informations.','','Textarea'); > "); > print "Upgrade to $DBversion done (Adding OpacHiddenItems syspref)\n"; > SetVersion($DBversion); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index e645785..1ba2d8b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -444,7 +444,7 @@ OPAC: > - pref: OpacHiddenItems > type: textarea > class: code >- - Allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations >+ - Allows to define custom rules for hiding specific items at opac. See http://manual.koha-community.org/3.8/en/administration.html#OpacHiddenItems for more informations > - > - pref: OpacAllowPublicListCreation > default: 1 >-- >1.7.2.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 8701
:
12733
|
86704
|
86705
|
88037
|
88160