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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (-1 / +1 lines)
Lines 4-7 Link Here
4
[%- USE AuthorisedValues -%]
4
[%- USE AuthorisedValues -%]
5
[%- SET biblio = item.biblio -%]
5
[%- SET biblio = item.biblio -%]
6
[%- SET biblioitem = item.biblioitem -%]
6
[%- SET biblioitem = item.biblioitem -%]
7
"[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", "[% item.stocknumber | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]","[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) || "" | html %]","[% AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn ) || "" | html %]", "[% (item.issues || 0) | html %]"
7
"[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", "[% item.stocknumber | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]", "[% (item.issues || 0) | html %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (-3 / +3 lines)
Lines 14-20 Link Here
14
  [%~ END %]",
14
  [%~ END %]",
15
  "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]",
15
  "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]",
16
  "[% biblioitem.publishercode | html | $To %]",
16
  "[% biblioitem.publishercode | html | $To %]",
17
  "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]",
17
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]",
18
  "[% FILTER escape_quotes ~%]
18
  "[% FILTER escape_quotes ~%]
19
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]#item[% item.itemnumber | uri %]" title="Go to item details">[% item.barcode | html %]</a>
19
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]#item[% item.itemnumber | uri %]" title="Go to item details">[% item.barcode | html %]</a>
20
  [%~ END %]",
20
  [%~ END %]",
Lines 25-32 Link Here
25
  "[% ItemTypes.GetDescription(item.itype) | html %]",
25
  "[% ItemTypes.GetDescription(item.itype) | html %]",
26
  "[% item.stocknumber | html %]",
26
  "[% item.stocknumber | html %]",
27
  "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]",
27
  "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]",
28
  "[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) || "" | html %]",
28
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]",
29
  "[% AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn ) || "" | html %]",
29
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]",
30
  "[% (item.issues || 0) | html %]",
30
  "[% (item.issues || 0) | html %]",
31
  "[% FILTER escape_quotes ~%]
31
  "[% FILTER escape_quotes ~%]
32
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-pencil"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> <li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
32
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-pencil"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> <li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-1 / +1 lines)
Lines 34-40 Link Here
34
    [% url = BLOCK %][% url | $raw %][% "&count=" _ results_per_page | url %][% END %]
34
    [% url = BLOCK %][% url | $raw %][% "&count=" _ results_per_page | url %][% END %]
35
  [% END %]
35
  [% END %]
36
  [% FOREACH facet IN facets_loo.facets %]
36
  [% FOREACH facet IN facets_loo.facets %]
37
  [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
37
  [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value,0) || facet.facet_label_value %][% END %]
38
  [% IF facets_loo.type_label_Language %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %]
38
  [% IF facets_loo.type_label_Language %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %]
39
  [% IF loop.count > 5 && !facet.active %]
39
  [% IF loop.count > 5 && !facet.active %]
40
    <li class="collapsible-facet" style="display:none">
40
    <li class="collapsible-facet" style="display:none">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc (-1 / +1 lines)
Lines 39-45 Link Here
39
                </td>
39
                </td>
40
                <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
40
                <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
41
                <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
41
                <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
42
                <td>[% AuthorisedValues.GetByCode('LOC', reserveloo.item.location) | html %]</td>
42
                <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => reserveloo.item.location) | html %]</td>
43
                <td>[% reserveloo.item.itemcallnumber | html %]</td>
43
                <td>[% reserveloo.item.itemcallnumber | html %]</td>
44
                <td>[% reserveloo.item.copynumber | html %]</td>
44
                <td>[% reserveloo.item.copynumber | html %]</td>
45
                <td>[% reserveloo.item.enumchron | html %]</td>
45
                <td>[% reserveloo.item.enumchron | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 630-636 Note that permanent location is a code, and location may be an authval. Link Here
630
                <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]</h3>
630
                <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]</h3>
631
            [% END %]
631
            [% END %]
632
            [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
632
            [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
633
            [% IF ( subscription.location ) %]<p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %]</p>[% END %]
633
            [% IF ( subscription.location ) %]<p class="subscription_location">Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</p>[% END %]
634
            [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber | html %] </p>[% END %]
634
            [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber | html %] </p>[% END %]
635
            [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes | html | html_line_break %] </p>[% END %]
635
            [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes | html | html_line_break %] </p>[% END %]
636
            [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist | html %] </p>[% END %]
636
            [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist | html %] </p>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +3 lines)
Lines 611-623 Link Here
611
                                                                        [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber | html %]</a>]
611
                                                                        [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber | html %]</a>]
612
                                                                    [% END %]
612
                                                                    [% END %]
613
                                                                    [% IF ( other_items_loo.withdrawn ) %]
613
                                                                    [% IF ( other_items_loo.withdrawn ) %]
614
                                                                        ([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) | html %])
614
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => other_items_loo.withdrawn ) | html %])
615
                                                                    [% END %]
615
                                                                    [% END %]
616
                                                                    [% IF ( other_items_loo.itemlost ) %]
616
                                                                    [% IF ( other_items_loo.itemlost ) %]
617
                                                                        ([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) | html %])
617
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => other_items_loo.itemlost ) | html %])
618
                                                                    [% END %]
618
                                                                    [% END %]
619
                                                                    [% IF ( other_items_loo.damaged ) %]
619
                                                                    [% IF ( other_items_loo.damaged ) %]
620
                                                                        ([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) | html %])
620
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => other_items_loo.damaged ) | html %])
621
                                                                    [% END %]
621
                                                                    [% END %]
622
                                                                    [% IF ( other_items_loo.intransit ) %]
622
                                                                    [% IF ( other_items_loo.intransit ) %]
623
                                                                        (In transit)
623
                                                                        (In transit)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-4 / +4 lines)
Lines 175-185 Link Here
175
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters | html %]     </p> [% END %]
175
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters | html %]     </p> [% END %]
176
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes | html %] </p> [% END %]
176
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes | html %] </p> [% END %]
177
                                        </td>
177
                                        </td>
178
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) | html %]</td>
178
                                        <td class="ar-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ar.item.ccode ) | html %]</td>
179
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %]</td>
179
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %]</td>
180
                                        <td class="ar-callnumber">
180
                                        <td class="ar-callnumber">
181
                                            [% IF ar.item.location %]
181
                                            [% IF ar.item.location %]
182
                                                <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) | html %]</em>
182
                                                <em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ar.item.location ) | html %]</em>
183
                                            [% END %]
183
                                            [% END %]
184
184
185
                                            [% ar.item.itemcallnumber | html %]
185
                                            [% ar.item.itemcallnumber | html %]
Lines 282-292 Link Here
282
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters | html %]     </p> [% END %]
282
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters | html %]     </p> [% END %]
283
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes | html %] </p> [% END %]
283
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes | html %] </p> [% END %]
284
                                        </td>
284
                                        </td>
285
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) | html %]</td>
285
                                        <td class="ar-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ar.item.ccode ) | html %]</td>
286
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %]</td>
286
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %]</td>
287
                                        <td class="ar-callnumber">
287
                                        <td class="ar-callnumber">
288
                                            [% IF ar.item.location %]
288
                                            [% IF ar.item.location %]
289
                                                <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) | html %]</em>
289
                                                <em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ar.item.location ) | html %]</em>
290
                                            [% END %]
290
                                            [% END %]
291
291
292
                                            [% ar.item.itemcallnumber | html %]
292
                                            [% ar.item.itemcallnumber | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt (-3 / +3 lines)
Lines 127-133 Link Here
127
                                          [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
127
                                          [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
128
                                              <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</b></li>
128
                                              <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</b></li>
129
                                          [% ELSE %]
129
                                          [% ELSE %]
130
                                              <li>Collection: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) | html %]</b></li>
130
                                              <li>Collection: <b>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</b></li>
131
                                          [% END %]
131
                                          [% END %]
132
                                          <li>Originating library: <b>[% Branches.GetName( errmsgloo.fbr ) | html %]</b></li>
132
                                          <li>Originating library: <b>[% Branches.GetName( errmsgloo.fbr ) | html %]</b></li>
133
                                          <li>Destination library: <b>[% Branches.GetName( errmsgloo.tbr ) | html %]</b></li>
133
                                          <li>Destination library: <b>[% Branches.GetName( errmsgloo.tbr ) | html %]</b></li>
Lines 203-212 Link Here
203
                    </td>
203
                    </td>
204
                    <td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td>
204
                    <td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td>
205
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.item.biblionumber | uri %]&amp;itemnumber=[% trsfitemloo.item.itemnumber | uri %]#item[% trsfitemloo.item.itemnumber | uri %]">[% trsfitemloo.item.barcode | html %]</a></td>
205
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.item.biblionumber | uri %]&amp;itemnumber=[% trsfitemloo.item.itemnumber | uri %]#item[% trsfitemloo.item.itemnumber | uri %]">[% trsfitemloo.item.barcode | html %]</a></td>
206
                    <td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetByCode( 'LOC', trsfitemloo.item.location ) | html %]</span></td>
206
                    <td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td>
207
                    <td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td>
207
                    <td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td>
208
                    <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td>
208
                    <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td>
209
                    <td class="tf-ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.item.ccode ) | html %]</td>
209
                    <td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td>
210
                    <td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td>
210
                    <td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td>
211
                    <td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td>
211
                    <td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td>
212
                </tr>
212
                </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-1 / +1 lines)
Lines 55-61 Link Here
55
                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]&amp;itemnumber=[% item.itemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a>
55
                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]&amp;itemnumber=[% item.itemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a>
56
                  </td>
56
                  </td>
57
                  <td>[% Branches.GetName(item.branchcode) | html %]</td>
57
                  <td>[% Branches.GetName(item.branchcode) | html %]</td>
58
                  <td>[% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %]</td>
58
                  <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
59
                </tr>
59
                </tr>
60
              [% END %]
60
              [% END %]
61
            </tbody>
61
            </tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-1 / +1 lines)
Lines 141-147 Link Here
141
        </td>
141
        </td>
142
        <td>
142
        <td>
143
        [% FOREACH loc IN reserveloo.locations %]
143
        [% FOREACH loc IN reserveloo.locations %]
144
            [% AuthorisedValues.GetByCode('LOC', loc) | html %]
144
            [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => loc) | html %]
145
        [% END %]
145
        [% END %]
146
        </td>
146
        </td>
147
        <td>
147
        <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +1 lines)
Lines 76-82 Link Here
76
            <td>
76
            <td>
77
                  <ul>
77
                  <ul>
78
                      [% FOREACH location IN reserveloo.location %]
78
                      [% FOREACH location IN reserveloo.location %]
79
                          <li>[% AuthorisedValues.GetByCode( 'LOC', location ) | html %]</li>
79
                          <li>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => location ) | html %]</li>
80
                      [% END %]
80
                      [% END %]
81
                  </ul>
81
                  </ul>
82
            </td>
82
            </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-5 / +7 lines)
Lines 214-237 Link Here
214
                                                 Item shelving location updated.
214
                                                 Item shelving location updated.
215
                                                <br />Old value:
215
                                                <br />Old value:
216
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
216
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
217
                                                    [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.from ) %]
217
                                                    [% IF errmsgloo.ItemLocationUpdated.from == '' %]
218
                                                    [% IF errmsgloo.ItemLocationUpdated.from == '' %]
218
                                                        empty
219
                                                        empty
219
                                                    [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %]
220
                                                    [% ELSIF av_description == '' %]
220
                                                        [% errmsgloo.ItemLocationUpdated.from | html %] (No description available)
221
                                                        [% errmsgloo.ItemLocationUpdated.from | html %] (No description available)
221
                                                    [% ELSE %]
222
                                                    [% ELSE %]
222
                                                        [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %]
223
                                                        [% av_description | html %]
223
                                                    [% END %]
224
                                                    [% END %]
224
                                                [% ELSE %]
225
                                                [% ELSE %]
225
                                                    "Blank"
226
                                                    "Blank"
226
                                                [% END %]
227
                                                [% END %]
227
                                                <br />New value:
228
                                                <br />New value:
228
                                                [% IF errmsgloo.ItemLocationUpdated.to %]
229
                                                [% IF errmsgloo.ItemLocationUpdated.to %]
230
                                                    [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.to ) %]
229
                                                    [% IF errmsgloo.ItemLocationUpdated.to == '' %]
231
                                                    [% IF errmsgloo.ItemLocationUpdated.to == '' %]
230
                                                        empty
232
                                                        empty
231
                                                    [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %]
233
                                                    [% ELSIF av_description == '' %]
232
                                                        [% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value)
234
                                                        [% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value)
233
                                                    [% ELSE %]
235
                                                    [% ELSE %]
234
                                                        [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %]
236
                                                        [% av_description | html %]
235
                                                    [% END %]
237
                                                    [% END %]
236
                                                [% ELSE %]
238
                                                [% ELSE %]
237
                                                    "Blank"
239
                                                    "Blank"
Lines 848-854 Link Here
848
                                            [% ItemTypes.GetDescription( riloo.itemtype ) | html %]
850
                                            [% ItemTypes.GetDescription( riloo.itemtype ) | html %]
849
                                        </td>
851
                                        </td>
850
                                        <td class="ci-collection">
852
                                        <td class="ci-collection">
851
                                            [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
853
                                            [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => riloo.ccode) | html %]
852
                                        </td>
854
                                        </td>
853
                                        <td class="ci-patron">
855
                                        <td class="ci-patron">
854
                                            [% IF ( riloo.duedate ) %]
856
                                            [% IF ( riloo.duedate ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-2 / +2 lines)
Lines 149-157 Link Here
149
                    </div>
149
                    </div>
150
                </p>
150
                </p>
151
            </td>
151
            </td>
152
            <td class="hq-collection">[% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) | html %]</td>
152
            <td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.ccode ) | html %]</td>
153
            <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) | html %]</td>
153
            <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) | html %]</td>
154
            <td class="hq-callnumber">[% IF ( itemsloo.location ) %]<em>[% AuthorisedValues.GetByCode( 'LOC', itemsloo.location ) | html %]</em> [% END %][% itemsloo.itemcallnumber | html %]</td>
154
            <td class="hq-callnumber">[% IF ( itemsloo.location ) %]<em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => 'itemsloo.location ) | html %]</em> [% END %][% itemsloo.itemcallnumber | html %]</td>
155
            <td class="hq-copynumber">[% itemsloo.copynumber | html %]</td>
155
            <td class="hq-copynumber">[% itemsloo.copynumber | html %]</td>
156
            <td class="hq-enumchron">[% itemsloo.enumchron | html %]</td>
156
            <td class="hq-enumchron">[% itemsloo.enumchron | html %]</td>
157
            <td class="hq-barcode">
157
            <td class="hq-barcode">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-10 / +12 lines)
Lines 123-164 Link Here
123
                            </td>
123
                            </td>
124
                            [% END %]
124
                            [% END %]
125
                            <td>
125
                            <td>
126
                                 [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode %]
126
                                 [% IF cr.course_item.ccode_enabled %]
127
                                 [% IF cr.course_item.ccode_enabled %]
127
                                     [% IF cr.course_item.enabled == 'yes' %]
128
                                     [% IF cr.course_item.enabled == 'yes' %]
128
                                        <strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>
129
                                        <strong>[% av_description | html %]</strong>
129
                                        [% IF cr.item.ccode %]
130
                                        [% IF cr.item.ccode %]
130
                                            ([% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode_storage ) | html %])
131
                                            ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.course_item.ccode_storage ) | html %])
131
                                        [% END %]
132
                                        [% END %]
132
                                     [% ELSE %]
133
                                     [% ELSE %]
133
                                        [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %]
134
                                        [% av_description | html %]
134
                                        [% IF cr.item.ccode %]
135
                                        [% IF cr.item.ccode %]
135
                                            (<strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>)
136
                                            (<strong>[% av_description | html %]</strong>)
136
                                        [% END %]
137
                                        [% END %]
137
                                     [% END %]
138
                                     [% END %]
138
                                 [% ELSE %]
139
                                 [% ELSE %]
139
                                     <i>Unchanged</i>
140
                                     <i>Unchanged</i>
140
                                     [% IF cr.item.ccode %]
141
                                     [% IF cr.item.ccode %]
141
                                         ([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %])
142
                                         ([% av_description | html %])
142
                                     [% END %]
143
                                     [% END %]
143
                                 [% END %]
144
                                 [% END %]
144
                            </td>
145
                            </td>
145
                            <td>
146
                            <td>
147
                                [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => cr.item.permanent_location %]
146
                                [% IF cr.course_item.location_enabled %]
148
                                [% IF cr.course_item.location_enabled %]
147
                                    [% IF cr.course_item.enabled == 'yes' %]
149
                                    [% IF cr.course_item.enabled == 'yes' %]
148
                                        <strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>
150
                                        <strong>[% av_description | html %]</strong>
149
                                        [% IF cr.item.permanent_location %]
151
                                        [% IF cr.item.permanent_location %]
150
                                            ([% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location_storage ) | html %])
152
                                            ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => cr.course_item.location_storage ) | html %])
151
                                        [% END %]
153
                                        [% END %]
152
                                    [% ELSE %]
154
                                    [% ELSE %]
153
                                        [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %]
155
                                        [% av_description | html %]
154
                                        [% IF cr.item.permanent_location %]
156
                                        [% IF cr.item.permanent_location %]
155
                                            (<strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>)
157
                                            (<strong>[% av_description | html %]</strong>)
156
                                        [% END %]
158
                                        [% END %]
157
                                    [% END %]
159
                                    [% END %]
158
                                [% ELSE %]
160
                                [% ELSE %]
159
                                    <i>Unchanged</i>
161
                                    <i>Unchanged</i>
160
                                    [% IF cr.item.permanent_location %]
162
                                    [% IF cr.item.permanent_location %]
161
                                        ([% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %])
163
                                        ([% av_description | html %])
162
                                    [% END %]
164
                                    [% END %]
163
                                [% END %]
165
                                [% END %]
164
                            </td>
166
                            </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-2 / +2 lines)
Lines 105-113 Link Here
105
                        <td>[% item.replacementprice | $Price %]</td>
105
                        <td>[% item.replacementprice | $Price %]</td>
106
                        <td>[% Branches.GetName(item.homebranch) | html %]</td>
106
                        <td>[% Branches.GetName(item.homebranch) | html %]</td>
107
                        <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td>
107
                        <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td>
108
                        <td>[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]</td>
108
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td>
109
                        <td>[% Branches.GetName(item.holdingbranch) | html %]</td>
109
                        <td>[% Branches.GetName(item.holdingbranch) | html %]</td>
110
                        <td>[% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %]</td>
110
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
111
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]
111
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]
112
                        <td>[% item.itemnotes | $raw %]</td>
112
                        <td>[% item.itemnotes | $raw %]</td>
113
                    </tr>
113
                    </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-4 / +4 lines)
Lines 609-615 Link Here
609
                                                    </td>
609
                                                    </td>
610
                                                    [% IF itemdata_ccode %]
610
                                                    [% IF itemdata_ccode %]
611
                                                        <td>
611
                                                        <td>
612
                                                            [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemloo.ccode ) | html %][% END %]
612
                                                            [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemloo.ccode ) | html %][% END %]
613
                                                        </td>
613
                                                        </td>
614
                                                    [% END %]
614
                                                    [% END %]
615
                                                    <td>
615
                                                    <td>
Lines 665-679 Link Here
665
                                                        [% END %]
665
                                                        [% END %]
666
666
667
                                                        [% IF ( itemloo.itemlost ) %]
667
                                                        [% IF ( itemloo.itemlost ) %]
668
                                                           <span class="lost">[% AuthorisedValues.GetByCode( 'LOST', itemloo.itemlost ) | html %]</span>
668
                                                           <span class="lost">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => itemloo.itemlost ) | html %]</span>
669
                                                        [% END %]
669
                                                        [% END %]
670
670
671
                                                        [% IF ( itemloo.damaged ) %]
671
                                                        [% IF ( itemloo.damaged ) %]
672
                                                            <span class="dmg">[% AuthorisedValues.GetByCode( 'DAMAGED', itemloo.damaged ) | html %]</span>
672
                                                            <span class="dmg">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => itemloo.damaged ) | html %]</span>
673
                                                        [% END %]
673
                                                        [% END %]
674
674
675
                                                        [% IF ( itemloo.withdrawn ) %]
675
                                                        [% IF ( itemloo.withdrawn ) %]
676
                                                           <span class="wdn">[% AuthorisedValues.GetByCode( 'WITHDRAWN', itemloo.withdrawn ) | html %]</span>
676
                                                           <span class="wdn">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => itemloo.withdrawn ) | html %]</span>
677
                                                        [% END %]
677
                                                        [% END %]
678
678
679
                                                        [% IF ( itemloo.notforloan ) %]
679
                                                        [% IF ( itemloo.notforloan ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-1 / +1 lines)
Lines 26-32 Link Here
26
	[% INCLUDE 'serials-toolbar.inc' %]
26
	[% INCLUDE 'serials-toolbar.inc' %]
27
27
28
	<h1>Serial collection information for  <i>[% bibliotitle | html %]</i>
28
	<h1>Serial collection information for  <i>[% bibliotitle | html %]</i>
29
        [% IF location %] ([% AuthorisedValues.GetByCode( 'LOC', location ) | html %]) [% END %]
29
        [% IF location %] ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => location ) | html %]) [% END %]
30
		[% IF ( callnumber ) %]callnumber: [% callnumber | html %][% END %]</h1>
30
		[% IF ( callnumber ) %]callnumber: [% callnumber | html %][% END %]</h1>
31
[% END %]
31
[% END %]
32
32
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +1 lines)
Lines 93-99 $(document).ready(function() { Link Here
93
    [% INCLUDE 'modals/serials_multi_receiving.inc' %]
93
    [% INCLUDE 'modals/serials_multi_receiving.inc' %]
94
94
95
<h1>Serial edition <i>[% bibliotitle | html %]</i>
95
<h1>Serial edition <i>[% bibliotitle | html %]</i>
96
    [% IF location %] ([% AuthorisedValues.GetByCode('LOC', location) | html %])[% END %]
96
    [% IF location %] ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => location) | html %])[% END %]
97
    [% IF ( callnumber ) %] callnumber: [% callnumber | html %][% END %]</h1>
97
    [% IF ( callnumber ) %] callnumber: [% callnumber | html %][% END %]</h1>
98
[% IF internalnotes %]<p>Nonpublic note: [% internalnotes | html | html_line_break %]</p>[% END %]
98
[% IF internalnotes %]<p>Nonpublic note: [% internalnotes | html | html_line_break %]</p>[% END %]
99
<form method="post" name="f" class="noEnterSubmit" action="serials-edit.pl" id="serials_edit">
99
<form method="post" name="f" class="noEnterSubmit" action="serials-edit.pl" id="serials_edit">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-1 / +1 lines)
Lines 109-115 Link Here
109
              [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) | html %][% END %]
109
              [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) | html %][% END %]
110
            </td>
110
            </td>
111
            <td>
111
            <td>
112
              [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %][% END %]
112
              [% IF ( subscription.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %][% END %]
113
            </td>
113
            </td>
114
            <td>
114
            <td>
115
              [% IF ( subscription.callnumber ) %][% subscription.callnumber | html %][% END %]
115
              [% IF ( subscription.callnumber ) %][% subscription.callnumber | html %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt (-1 / +1 lines)
Lines 50-56 Link Here
50
                                        <td>[% subscription.biblio.biblioitem.issn | html %]</td>
50
                                        <td>[% subscription.biblio.biblioitem.issn | html %]</td>
51
                                        <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
51
                                        <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
52
                                        <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
52
                                        <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
53
                                        <td>[% AuthorisedValues.GetByCode('LOC', subscription.location) | html %]</td>
53
                                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</td>
54
                                        <td>[% Branches.GetName(subscription.branchcode) | html %]</td>
54
                                        <td>[% Branches.GetName(subscription.branchcode) | html %]</td>
55
                                        <td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>
55
                                        <td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>
56
                                        <td>[% subscription.notes | html %]</td>
56
                                        <td>[% subscription.notes | html %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (-3 / +3 lines)
Lines 8-14 Link Here
8
8
9
[% IF ( item.itemlost ) %]
9
[% IF ( item.itemlost ) %]
10
    [% SET itemavailable = 0 %]
10
    [% SET itemavailable = 0 %]
11
    [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
11
    [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost, opac => 1 ) %]
12
    [% IF ( av_lib_include ) %]
12
    [% IF ( av_lib_include ) %]
13
        <span class="item-status lost">[% av_lib_include | html %]</span>
13
        <span class="item-status lost">[% av_lib_include | html %]</span>
14
    [% ELSE %]
14
    [% ELSE %]
Lines 53-59 Link Here
53
53
54
[% IF ( item.withdrawn ) %]
54
[% IF ( item.withdrawn ) %]
55
    [% SET itemavailable = 0 %]
55
    [% SET itemavailable = 0 %]
56
    [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) %]
56
    [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %]
57
    [% IF av_lib_include %]
57
    [% IF av_lib_include %]
58
        <span class="item-status withdrawn">[% av_lib_include | html %]</span>
58
        <span class="item-status withdrawn">[% av_lib_include | html %]</span>
59
    [% ELSE %]
59
    [% ELSE %]
Lines 76-82 Link Here
76
76
77
[% IF ( item.damaged ) %]
77
[% IF ( item.damaged ) %]
78
    [% SET itemavailable = 0 %]
78
    [% SET itemavailable = 0 %]
79
    [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
79
    [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged, opac => 1 ) %]
80
    [% IF av_lib_include %]
80
    [% IF av_lib_include %]
81
        <span class="item-status damaged">[% av_lib_include | html %]</span>
81
        <span class="item-status damaged">[% av_lib_include | html %]</span>
82
    [% ELSE %]
82
    [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-1 / +1 lines)
Lines 43-49 Link Here
43
                              [% url = BLOCK %][% url | $raw %][% "&amp;count=" _ results_per_page | url %][% END %]
43
                              [% url = BLOCK %][% url | $raw %][% "&amp;count=" _ results_per_page | url %][% END %]
44
                            [% END %]
44
                            [% END %]
45
                            [% FOREACH facet IN facets_loo.facets %]
45
                            [% FOREACH facet IN facets_loo.facets %]
46
                            [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
46
                            [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value, opac =>1 ) || facet.facet_label_value %][% END %]
47
                            [% IF facets_loo.type_label_Language %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %]
47
                            [% IF facets_loo.type_label_Language %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %]
48
                            [% IF loop.count > 5 && !facet.active %]
48
                            [% IF loop.count > 5 && !facet.active %]
49
                                <li class="collapsible-facet" style="display:none">
49
                                <li class="collapsible-facet" style="display:none">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-2 / +2 lines)
Lines 72-79 Link Here
72
                                        <td><a href="opac-detail.pl?biblionumber=[% cr.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title-head.inc' biblio=cr.biblio %]</a></td>
72
                                        <td><a href="opac-detail.pl?biblionumber=[% cr.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title-head.inc' biblio=cr.biblio %]</a></td>
73
                                        <td>[% cr.biblio.author | html %]</td>
73
                                        <td>[% cr.biblio.author | html %]</td>
74
                                        <td>[% ItemTypes.GetDescription( cr.item.itype ) | html %]</td>
74
                                        <td>[% ItemTypes.GetDescription( cr.item.itype ) | html %]</td>
75
                                        <td>[% Branches.GetName( cr.item.holdingbranch ) | html %] <br/> <em>[% AuthorisedValues.GetByCode( 'LOC', cr.item.location, 1 ) | html %]</em></td>
75
                                        <td>[% Branches.GetName( cr.item.holdingbranch ) | html %] <br/> <em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => cr.item.location, opac => 1 ) | html %]</em></td>
76
                                        <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode, 1 ) | html %]</td>
76
                                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode, opac => 1 ) | html %]</td>
77
                                        <td>[% cr.item.itemcallnumber | html %]</td>
77
                                        <td>[% cr.item.itemcallnumber | html %]</td>
78
                                        <td>[% cr.item.copynumber | html %]</td>
78
                                        <td>[% cr.item.copynumber | html %]</td>
79
                                        <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
79
                                        <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-1 / +1 lines)
Lines 748-754 Link Here
748
                                    <p class="subscription_closed">This subscription is closed.</p>
748
                                    <p class="subscription_closed">This subscription is closed.</p>
749
                                [% END %]
749
                                [% END %]
750
                                [% IF ( subscription.location ) %]
750
                                [% IF ( subscription.location ) %]
751
                                  <p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %]
751
                                  <p class="subscription_location">Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location, opac => 1 ) | html %]
752
                                [% END %]
752
                                [% END %]
753
                                [% IF ( subscription.callnumber ) %]
753
                                [% IF ( subscription.callnumber ) %]
754
                                  <p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p>
754
                                  <p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 390-396 Link Here
390
                                                                <td class="holdingbranch">[% Branches.GetName( itemLoo.holdingBranchName ) | html %]</td>
390
                                                                <td class="holdingbranch">[% Branches.GetName( itemLoo.holdingBranchName ) | html %]</td>
391
                                                            [% END %]
391
                                                            [% END %]
392
                                                            [% IF ( itemdata_ccode ) %]
392
                                                            [% IF ( itemdata_ccode ) %]
393
                                                                <td class="ccode"> [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode, 1 ) | html %][% END %]</td>
393
                                                                <td class="ccode"> [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemLoo.ccode, opac => 1 ) | html %][% END %]</td>
394
                                                            [% END %]
394
                                                            [% END %]
395
                                                            <td class="call_no">[% itemLoo.callNumber | html %]</td>
395
                                                            <td class="call_no">[% itemLoo.callNumber | html %]</td>
396
                                                            [% IF ( itemdata_enumchron ) %]
396
                                                            [% IF ( itemdata_enumchron ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-2 / +1 lines)
Lines 73-79 Link Here
73
                                            <td>
73
                                            <td>
74
                                              [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
74
                                              [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
75
                                                <span class="tdlabel">Collection</span>
75
                                                <span class="tdlabel">Collection</span>
76
                                                [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) | html %]
76
                                                [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => result.ccode, opac => 1 ) | html %]
77
                                              [% ELSE %]
77
                                              [% ELSE %]
78
                                                <span class="tdlabel">Item type</span>
78
                                                <span class="tdlabel">Item type</span>
79
                                                [% ItemTypes.GetDescription(result.itemtype) | html %]
79
                                                [% ItemTypes.GetDescription(result.itemtype) | html %]
80
- 

Return to bug 26323