Bugzilla – Attachment 123648 Details for
Bug 26302
OPAC XSLT Results: List variable number of itemcallnumbers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26302: (QA follow-up) Reset preference values
Bug-26302-QA-follow-up-Reset-preference-values.patch (text/plain), 2.94 KB, created by
Nick Clemens (kidclamp)
on 2021-08-09 13:03:19 UTC
(
hide
)
Description:
Bug 26302: (QA follow-up) Reset preference values
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-08-09 13:03:19 UTC
Size:
2.94 KB
patch
obsolete
>From 803613af25037a083d780bb58dc2bf8e191693c0 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 9 Aug 2021 09:51:36 +0000 >Subject: [PATCH] Bug 26302: (QA follow-up) Reset preference values > >Mimic current behavior. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_26302.perl | 4 ++-- > installer/data/mysql/mandatory/sysprefs.sql | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_26302.perl b/installer/data/mysql/atomicupdate/bug_26302.perl >index 1bbaa3a60e..fb3c93c991 100644 >--- a/installer/data/mysql/atomicupdate/bug_26302.perl >+++ b/installer/data/mysql/atomicupdate/bug_26302.perl >@@ -2,8 +2,8 @@ $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > $dbh->do(q| > INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES >- ('resultsMaxItems','2','','Maximum number of available items displayed in search results','Integer'), >- ('resultsMaxItemsUnavailable','1','','Maximum number of unavailable items displayed in search results','Integer') >+ ('resultsMaxItems','1','','Maximum number of available items displayed in search results','Integer'), >+ ('resultsMaxItemsUnavailable','0','','Maximum number of unavailable items displayed in search results','Integer') > |); > NewVersion( $DBversion, 26302, "Add preferences resultsMaxItems and resultsMaxItemsUnavailable"); > } >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 6c55efb37c..749ee217fe 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -576,8 +576,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('RestrictedPageContent','',NULL,'HTML content of the restricted page','TextArea'), > ('RestrictedPageTitle','',NULL,'Title of the restricted page (breadcrumb and header)','Free'), > ('RestrictionBlockRenewing','0',NULL,'If patron is restricted, should renewal be allowed or blocked','YesNo'), >-('resultsMaxItems','2','','Maximum number of available items displayed in search results','Integer'), >-('resultsMaxItemsUnavailable','1','','Maximum number of unavailable items displayed in search results','Integer'), >+('resultsMaxItems','1','','Maximum number of available items displayed in search results','Integer'), >+('resultsMaxItemsUnavailable','0','','Maximum number of unavailable items displayed in search results','Integer'), > ('ReturnBeforeExpiry','0',NULL,'If ON, checkout will be prevented if returndate is after patron card expiry','YesNo'), > ('ReturnLog','1',NULL,'If ON, enables the circulation (returns) log','YesNo'), > ('ReturnpathDefault','',NULL,'Use this email address as return path or bounce address for undeliverable emails','Free'), >-- >2.20.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 26302
:
109184
|
119108
|
119109
|
119110
|
119111
|
122386
|
122387
|
122388
|
122389
|
122391
|
122462
|
122463
|
122464
|
122465
|
122466
|
122487
|
123499
|
123500
|
123501
|
123502
|
123526
|
123527
|
123528
|
123529
|
123531
|
123532
|
123533
|
123534
|
123640
|
123641
|
123643
|
123644
|
123645
|
123646
|
123647
| 123648 |
123649
|
124243
|
124244
|
124245