Bugzilla – Attachment 162990 Details for
Bug 15461
Add staff equivalent for OpacLocationOnDetail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15461: Add StaffLocationOnDetail system preference
Bug-15461-Add-StaffLocationOnDetail-system-prefere.patch (text/plain), 2.63 KB, created by
ByWater Sandboxes
on 2024-03-08 21:57:40 UTC
(
hide
)
Description:
Bug 15461: Add StaffLocationOnDetail system preference
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-03-08 21:57:40 UTC
Size:
2.63 KB
patch
obsolete
>From 6898e5feaab9bfe826bc16bfdbd68e28d9cd3541 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 8 Mar 2024 21:04:53 +0000 >Subject: [PATCH] Bug 15461: Add StaffLocationOnDetail system preference > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > installer/data/mysql/atomicupdate/bug_15461.pl | 18 ++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > 2 files changed, 19 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_15461.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_15461.pl b/installer/data/mysql/atomicupdate/bug_15461.pl >new file mode 100755 >index 0000000000..d7ed32ee0c >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15461.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "15461", >+ description => "Add system preference StaffLocationOnDetail", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) >+ VALUES ('StaffLocationOnDetail','home','holding|home|both|column','In the staff interface, display the shelving location on its own column or under a library columns.','Choice') >+ }); >+ >+ say $out "Added new system preference 'StaffLocationOnDetail'"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 7295744c4c..c6c5cebade 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -710,6 +710,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('StaffDetailItemSelection', '1', NULL, 'Enable item selection in record detail page', 'YesNo'), > ('StaffHighlightedWords','1','','Highlight search terms on staff interface','YesNo'), > ('StaffLangSelectorMode','footer','top|both|footer','Select the location to display the language selector in staff interface','Choice'), >+('StaffLocationOnDetail','home','holding|home|both|column','In the staff interface detail, display the shelving location on its own column or under a library columns.', 'Choice'), > ('StaffLoginInstructions', '', NULL, 'HTML to go into the login box for the staff interface','Free'), > ('StaffSearchResultsDisplayBranch','holdingbranch','holdingbranch|homebranch','Controls the display of the home or holding branch for staff search results','Choice'), > ('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the staff interface','Integer'), >-- >2.30.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 15461
:
162980
|
162981
|
162982
|
162987
|
162990
|
162991
|
162992
|
162993
|
165804
|
165805
|
165806
|
170238
|
170268
|
170269
|
170270
|
174011
|
174012
|
174013