View | Details | Raw Unified | Return to bug 18384
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_18384_-_add_ShowAllAttachedSubsSerialCollection_syspref.sql (+1 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('ShowAllAttachedSubsSerialCollection', '0', NULL, 'If enabled, always show all attached subscriptions to a biblio in serial collection', 'YesNo');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 472-477 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
472
('ShelfBrowserUsesCcode','1','0','Use the item collection code when finding items for the shelf browser.','YesNo'),
472
('ShelfBrowserUsesCcode','1','0','Use the item collection code when finding items for the shelf browser.','YesNo'),
473
('ShelfBrowserUsesHomeBranch','1','1','Use the item home branch when finding items for the shelf browser.','YesNo'),
473
('ShelfBrowserUsesHomeBranch','1','1','Use the item home branch when finding items for the shelf browser.','YesNo'),
474
('ShelfBrowserUsesLocation','1','1','Use the item location when finding items for the shelf browser.','YesNo'),
474
('ShelfBrowserUsesLocation','1','1','Use the item location when finding items for the shelf browser.','YesNo'),
475
('ShowAllAttachedSubsSerialCollection', '0', NULL, 'If enabled, always show all attached subscriptions to a biblio in serial collection', 'YesNo'),
475
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
476
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
476
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
477
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
477
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
478
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc (-1 / +5 lines)
Lines 1-6 Link Here
1
[% IF ( subscriptionid ) %]
1
[% IF ( subscriptionid ) %]
2
<ul>
2
<ul>
3
<li><a href="serials-collection.pl?subscriptionid=[% subscriptionid %]">Serial collection</a></li>
3
  [% IF Koha.Preference('ShowAllAttachedSubsSerialCollection') %]
4
    <li><a href="/cgi-bin/koha/serials/serials-collection.pl?biblionumber=[% bibnum %]">Serial collection</a></li>
5
  [% ELSE %]
6
    <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid %]">Serial collection</a></li>
7
  [% END %]
4
  [% UNLESS closed %]
8
  [% UNLESS closed %]
5
    [% IF ( routing && CAN_user_serials_routing ) %]
9
    [% IF ( routing && CAN_user_serials_routing ) %]
6
        [% IF ( hasRouting ) %]
10
        [% IF ( hasRouting ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref (-1 / +6 lines)
Lines 1-5 Link Here
1
Serials:
1
Serials:
2
    -
2
    -
3
        - pref: ShowAllAttachedSubsSerialCollection
4
          choices:
5
              yes: Always
6
              no: "Don't"
7
        - show all attached subscriptions to a biblio in Serial Collection.
8
    -
3
        - Show
9
        - Show
4
        - pref: opacSerialDefaultTab
10
        - pref: opacSerialDefaultTab
5
          choices:
11
          choices:
6
- 

Return to bug 18384