Bugzilla – Attachment 65480 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]
Bug 19028: Add OPACLocationOnDetail syspref
Bug-19028-Add-OPACLocationOnDetail-syspref.patch (text/plain), 1.60 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-08-03 17:20:44 UTC
(
hide
)
Description:
Bug 19028: Add OPACLocationOnDetail syspref
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-08-03 17:20:44 UTC
Size:
1.60 KB
patch
obsolete
>From 4f0dc51fd837bae5742c3553c38aa7f3a67351d2 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] 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 >--- > .../atomicupdate/bug_19028_shelving_location_column.perl | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > 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 0000000000..5f41e889d9 >--- /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 >-- >2.13.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