Bugzilla – Attachment 65565 Details for
Bug 19028
Add 'shelving location' to holdings table in detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 19028: Add OpacLocationOnDetail syspref
SIGNED-OFF-Bug-19028-Add-OpacLocationOnDetail-sysp.patch (text/plain), 3.07 KB, created by
Owen Leonard
on 2017-08-07 14:43:50 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 19028: Add OpacLocationOnDetail syspref
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-08-07 14:43:50 UTC
Size:
3.07 KB
patch
obsolete
>From 5c5243fc51a237ab3961d6520914b41644a8c7bd Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 3 Aug 2017 12:52:52 -0300 >Subject: [PATCH] [SIGNED-OFF] Bug 19028: Add OpacLocationOnDetail syspref > >This patch renames the 'OpacLocationBranchToDisplayShelving' syspref into >'OpacLocationOnDetail' and adds it a fourth option, 'column', that makes >the OPAC display shelving location on a separate column, instead of the >library names (home, holding or both). > >Sponsored-by: Dover > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../atomicupdate/bug_19028_shelving_location_column.perl | 15 +++++++++++++++ > installer/data/mysql/sysprefs.sql | 2 +- > 2 files changed, 16 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_19028_shelving_location_column.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_19028_shelving_location_column.perl b/installer/data/mysql/atomicupdate/bug_19028_shelving_location_column.perl >new file mode 100644 >index 0000000..5f41e88 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19028_shelving_location_column.perl >@@ -0,0 +1,15 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ UPDATE systempreferences >+ SET >+ variable='OpacLocationOnDetail', >+ options='holding|home|both|column', >+ explanation='In the OPAC detail, display the shelving location on its own column or under a library columns.' >+ WHERE >+ variable='OpacLocationBranchToDisplayShelving' >+ }); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 19028: Add 'shelving location' to holdings table in detail page)\n"; >+} >\ No newline at end of file >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 0bd8cac..d70ea3e 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -343,7 +343,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'), > ('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'), > ('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'), >-('OpacLocationBranchToDisplayShelving','holding','holding|home|both','In the OPAC, display the shelving location under which which column.', 'Choice'), >+('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.', 'Choice'), > ('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'), > ('OpacMaintenanceNotice','','','A user-defined block of HTML to appear on screen when OpacMaintenace is enabled','Textarea'), > ('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML in the main content area of the opac main page','Textarea'), >-- >2.1.4
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 19028
:
65480
|
65481
|
65516
|
65517
|
65565
|
65566
|
68466
|
68467
|
68535