5 [% USE AuthorisedValues %]
8 [% USE ColumnsSettings %]
9 [% PROCESS 'i18n.inc' %]
10 [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
11 [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
13 [% IF Koha.Preference('AmazonAssocTag') %]
14 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
16 [% AmazonAssocTag = '' %]
19 [% ShowCourseReserves = 0 | html %]
20 [% IF UseCourseReserves %]
21 [% FOREACH item IN itemloop %]
22 [% IF item.course_reserves %]
23 [% FOREACH r IN item.course_reserves %]
24 [% IF r.course.enabled == 'yes' %]
25 [% ShowCourseReserves = 1 | html %]
32 [% SET footerjs = 1 %]
33 [% INCLUDE 'doc-head-open.inc' %]
34 <title>Koha › Catalog ›
35 [% IF ( unknownbiblionumber ) %]
38 Details for [% INCLUDE 'biblio-title-head.inc' %]
41 [% INCLUDE 'doc-head-close.inc' %]
44 <body id="catalog_detail" class="catalog">
46 [% INCLUDE 'header.inc' %]
47 [% INCLUDE 'cat-search.inc' %]
49 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
50 [% IF ( unknownbiblionumber ) %]
53 Details for <i>[% INCLUDE 'biblio-title.inc' %]</i>
57 <div class="main container-fluid">
59 <div class="col-sm-10 col-sm-push-2">
63 [% IF ( unknownbiblionumber ) %]
64 <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
67 [% IntranetCoce = Koha.Preference('IntranetCoce') %]
68 [% CoceProviders = Koha.Preference('CoceProviders') %]
69 [% CoceHost = Koha.Preference('CoceHost') %]
71 [% INCLUDE 'cat-toolbar.inc' %]
72 [% IF decoding_error %]
74 There is an error with this bibliographic record, the view may be degraded.
75 <br/> Error: [% decoding_error | html %]
79 <!-- COinS / OpenURL -->
80 <span class="Z3988" title="[% ocoins | html %]"></span>
83 [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
84 [% IF ( XSLTDetailsDisplay ) %]
85 <div id="catalogue_detail_biblio" class="col-xs-9">
87 <div id="catalogue_detail_biblio" class="col-xs-9">
90 <div id="catalogue_detail_biblio" class="col-xs-12">
95 [% IF shelves.count %]
96 <span class="results_summary"><span class="label">Lists that include this title: </span>
97 [% FOREACH s IN shelves %]
98 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber | uri %]">[% s.shelfname | html %]</a>
99 [% IF ( loop.last ) %][% ELSE %]|[% END %]
103 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
104 <span class="results_summary"><span class="label">Tags:</span>
105 [% FOREACH TagLoo IN TagLoop %]
106 [% IF ( CAN_user_tools_moderate_tags ) %]
107 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term | html %]</a>
109 [% TagLoo.term | html %]
111 <span class="weight">([% TagLoo.weight_total | html %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
115 <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber | uri %]&viewas=html" title="MARC" class="previewMARC">Show</a></span>
117 [% IF ( holdcount ) %]
118 <span class="results_summary">
119 <span class="label">Holds:</span>
120 <span class="number_box">
121 [% IF CAN_user_reserveforothers_place_holds %]
122 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]">[% holdcount | html %]</a>
124 <span>[% holdcount | html %]</span>
130 [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
131 <span class="results_summary">
132 <span class="label">Article requests:</span>
133 <span class="number_box">
134 <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber | uri %]">[% article_requests_count | html %]</a>
139 [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
140 </div><div class="col-xs-3" id="bookcoverimg">
141 [% IF ( LocalCoverImages ) %]
142 <div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div>
144 [% IF ( AdlibrisEnabled && normalized_isbn ) %]
145 <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a>
147 [% IF ( AmazonCoverImages && normalized_isbn) %]
148 <div id="amazon-bookcoverimg">
149 <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link">
150 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | html %].01.MZZZZZZZ.jpg" alt="" />
153 [% IF ( IntranetCoce && CoceProviders ) %]
154 [% coce_id = normalized_ean || normalized_isbn %]
155 <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% biblionumber | url %]">
157 <span style="block" title="[% biblionumber | url %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></span>
159 <span class="no-image">No cover image available</span>
164 [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %]
165 <a class="custom_cover_image" href="[% biblio.custom_cover_image_url | url %]"><img alt="Cover image" src="[% biblio.custom_cover_image_url | url %]" /></a>
171 <div id="bibliodetails" class="toptabs">
174 [% IF (SeparateHoldings) %]
176 <a href="#holdings">[% LoginBranchname | html %] holdings ([% itemloop.size() || 0 | html %])</a>
179 <a href="#otherholdings">Other holdings ([% otheritemloop.size() || 0 | html %])</a>
183 <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
186 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
187 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
188 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
189 [% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %]
190 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
191 [% IF ( LocalCoverImages ) %]
192 [% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]
194 <a href="#images">Images ([% localimages.size() || 0 | html %])</a>
198 [% IF HTML5MediaEnabled && HTML5MediaSets.size %]<li id="media_tab"><a href="#html5media">Play media</a></li>[% END %]
199 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
200 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
202 [% FOREACH tab IN tabs %]
203 <li><a href="#[% tab.id | uri %]">[% tab.title | html %]</a></li>
207 [% items_table_block_iter = 0 %]
208 [% BLOCK items_table %]
209 [% items_table_block_iter = items_table_block_iter + 1 %]
210 <div class="[% tab | html %]_table_table_controls">
211 [% IF (StaffDetailItemSelection) %]
212 | <a href="#" class="SelectAll" data-tab="[% tab | html %]"><i class="fa fa-check"></i> Select all</a> |
213 <a href="#" class="ClearAll" data-tab="[% tab | html %]"><i class="fa fa-remove"></i> Clear all</a>
214 <span class="itemselection_actions">
216 [% IF CAN_user_tools_items_batchdel %]
217 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
219 [% IF CAN_user_tools_items_batchmod %]
220 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
225 <table class="items_table" id="[% tab | html %]_table">
228 [% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %]
229 [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %]
230 <th id="[% tab | html %]_holdingbranch" data-colname="[% tab | html %]_holdingbranch">Current location</th>
231 <th id="[% tab | html %]_homebranch" data-colname="[% tab | html %]_homebranch">Home library</th>
232 [% IF ( itemdata_ccode ) %]<th id="[% tab | html %]_ccode" data-colname="[% tab | html %]_ccode">Collection</th>[% END %]
233 <th id="[% tab | html %]_itemcallnumber" data-colname="[% tab | html %]_itemcallnumber">Call number</th>
235 [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting%]
236 <th id="[% tab | html %]_enumchron" data-colname="[% tab | html %]_enumchron" class="title-string">Serial enumeration / chronology</th>
238 <th id="[% tab | html %]_enumchron" data-colname="[% tab | html %]_enumchron">Serial enumeration / chronology</th>
241 <th id="[% tab | html %]_status" data-colname="[% tab | html %]_status">Status</th>
242 <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen" class="title-string">Last seen</th>
243 <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned" class="title-string">Date accessioned</th>
244 <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
245 [% IF ( itemdata_uri ) %]<th id="[% tab | html %]_uri" data-colname="[% tab | html %]_uri">URL</th>[% END %]
246 [% IF ( itemdata_copynumber ) %]<th id="[% tab | html %]_copynumber" data-colname="[% tab | html %]_copynumber">Copy number</th>[% END %]
247 [% IF ( itemdata_stocknumber ) %]<th id="[% tab | html %]_stocknumber" data-colname="[% tab | html %]_stocknumber">Inventory number</th>[% END %]
248 [% IF materials %]<th id="[% tab | html %]_materials" data-colname="[% tab | html %]_materials">Materials specified</th>[% END %]
249 [% IF ( itemdata_itemnotes ) %]<th id="[% tab | html %]_itemnotes" data-colname="[% tab | html %]_itemnotes">Public notes</th>[% END %]
250 [% IF ( itemdata_nonpublicnotes ) %]<th id="[% tab | html %]_itemnotes_nonpublic" data-colname="[% tab | html %]_itemnotes_nonpublic">Non-public notes</th>[% END %]
251 [% IF ( hostrecords ) %]<th id="[% tab | html %]_hostrecord" data-colname="[% tab | html %]_hostrecord">Host records</th>[% END %]
252 [% IF ( analyze ) %]<th id="[% tab | html %]_usedin" data-colname="[% tab | html %]_usedin">Used in</th><th></th>[% END %]
253 [% IF ( ShowCourseReserves ) %]<th id="[% tab | html %]_course_reserves" data-colname="[% tab | html %]_course_reserves">Course reserves</th>[% END %]
254 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th id="[% tab | html %]_spinelabel" data-colname="[% tab | html %]_spinelabel" class="NoSort">Spine label</th>[% END %]
255 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th id="[% tab | html %]_actions" data-colname="[% tab | html %]_actions"class="NoSort"> </th>[% END %]
259 [% FOREACH item IN items %]
261 [% IF (StaffDetailItemSelection) %]
262 <td style="text-align:center;vertical-align:middle">
263 <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
266 [% IF ( item_level_itypes ) %]
268 [% IF !noItemTypeImages && item.imageurl %]
269 <img src="[% item.imageurl | html %]" alt="[% item.translated_description | html %]" title="[% item.translated_description | html %]" />
271 [% item.translated_description | html %]
274 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
275 <td class="homebranch">
276 [% Branches.GetName(item.homebranch) | html %]
277 <span class="shelvingloc">
279 If permanent location is defined, show description or code and display current location in parentheses. If not, display current location.
280 Note that permanent location is a code, and location may be an authval.
282 [% IF item.permanent_location %]
283 [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
284 [% permloc_authval | html %]
285 [% IF item.location AND item.location != permloc_authval AND item.location != item.permanent_location %]
286 ([% item.location | html %])
289 [% item.location | html %]
293 [% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %]
294 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td>
296 <td class="enumchron">
297 [% IF itemdata_publisheddate %]<span title="[% item.publisheddate | html %]">[% END %]
298 [% IF ( itemdata_enumchron ) %]
299 [% IF item.enumchron && item.serialseq %]
300 <span class="enum">[% item.enumchron | html %]</span>
301 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
302 <span class="sep"> -- </span>
303 <span class="serialseq">[% item.serialseq | html %]</span>
305 [% ELSIF item.enumchron %]
306 <span class="enum">[% item.enumchron | html %]</span>
307 [% ELSIF item.serialseq %]
308 <span class="serialseq">[% item.serialseq | html %]</span>
310 [% IF ( item.publisheddate ) %]
311 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
319 [% IF item.CheckedOutFor %]
320 [% IF item.onsite_checkout %]
321 <span>Currently in local use
323 <span class="datedue">Checked out
325 [% UNLESS ( item.NOTSAMEBRANCH ) %]
326 [% IF item.onsite_checkout %]
331 [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %]
333 : due [% item.datedue | html %]
335 [% ELSIF ( item.transfertwhen ) %]
336 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) | html %] to [% Branches.GetName( item.transfertto ) | html %] since [% item.transfertwhen | $KohaDates %]</span>
339 [% IF ( item.itemlost ) %]
340 [% IF itemlostloop %]
341 [% FOREACH itemlostloo IN itemlostloop %]
342 [% IF itemlostloo.authorised_value == item.itemlost %]
343 <span class="lost">[% itemlostloo.lib | html %]</span>
347 <span class="lost">Unavailable (lost or missing)</span>
351 [% IF ( item.withdrawn ) %]
352 [% IF itemwithdrawnloop %]
353 [% FOREACH itemwithdrawnloo IN itemwithdrawnloop %]
354 [% IF itemwithdrawnloo.authorised_value == item.withdrawn %]
355 <span class="wdn">[% itemwithdrawnloo.lib | html %]</span>
359 <span class="wdn">Withdrawn</span>
363 [% IF ( item.damaged ) %]
364 [% IF itemdamagedloop %]
365 [% FOREACH itemdamagedloo IN itemdamagedloop %]
366 [% IF itemdamagedloo.authorised_value == item.damaged %]
367 <span class="dmg">[% itemdamagedloo.lib | html %]</span>
371 <span class="dmg">Damaged</span>
375 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
377 [% IF ( item.notforloanvalue ) %]
378 ([% item.notforloanvalue | html %])
382 [% SET hold = item.first_hold %]
384 [% IF hold.waitingdate %]
385 Waiting at [% Branches.GetName( hold.branchcode ) | html %] since [% hold.waitingdate | $KohaDates %].
386 [% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %]
388 [% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %]
391 There is an item level hold on this item (priority = [% hold.priority | html %]).
394 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || hold ) %]
398 [% IF ( item.restricted ) %]
399 <span class="restricted">([% item.restrictedvalue | html %])</span>
403 <td class="datelastseen"><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td>
404 <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</span></td>
405 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | uri %]&itemnumber=[% item.itemnumber | uri %]&biblionumber=[% item.biblionumber | uri %]&bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
406 [% IF ( itemdata_uri ) %]
407 [% IF item.uri.split(' \| ').size > 1 %]
409 [% FOREACH uri IN item.uri.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %]
414 <a href="[% item.uri | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a>
419 [% IF ( itemdata_copynumber ) %]
420 <td class="copynumber">[% item.copynumber | html %]</td>
422 [% IF ( itemdata_stocknumber ) %]
423 <td class="stocknumber">[% item.stocknumber | html %]</td>
426 <td class="materials"> [% item.materials | html %] </td>
428 [% IF ( itemdata_itemnotes ) %]
429 <td><div class="itemnotes">[% item.itemnotes | $raw %]</div></td>
431 [% IF itemdata_nonpublicnotes %]
432 <td class="nonpublicnote">[% item.itemnotes_nonpublic | html %]</td>
434 [% IF ( hostrecords ) %]
435 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber | uri %]" >[% item.hosttitle | html %]</a>[% END %]</td>
439 [% IF ( item.countanalytics ) %]
440 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber | uri %]">[% item.countanalytics | html %] analytics</a>
445 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber | uri %]&hostitemnumber=[% item.itemnumber | uri %]">Create analytics</a></td>
448 [% IF ShowCourseReserves %]
450 [% IF item.course_reserves %]
451 [% FOREACH r IN item.course_reserves %]
452 [% IF r.course.enabled == 'yes' %]
454 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id | uri %]">
455 [% r.course.course_name | html %]
456 <!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]-->
457 [% IF r.course.section %] [% r.course.section | html %] [% END %]
458 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) | html %] [% END %]
467 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
468 <td><a class="btn btn-default btn-xs print-label" href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode | uri %]"><i class="fa fa-print"></i> Print label</a></td>
471 [% IF CAN_user_editcatalogue_edit_items %]
473 [% UNLESS item.cannot_be_edited %]
474 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
482 [% END %][%# end of block items_table %]
486 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
487 <span class="results_summary NovelistSelect" style="display:none;">
488 <span class="label">Novelist Select: </span>
489 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
494 [% IF ( showncount ) %]
495 [% PROCESS items_table tab="holdings" items=itemloop %]
497 [% IF ( hiddencount ) %]
498 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&showallitems=1">Show all items ([% hiddencount | html %] hidden)</a>
500 [% IF ( debug_display ) %]
503 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron | html %]</td></tr>
504 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber | html %]</td></tr>
505 <tr><td>serial</td><td>[% serial | html %]</td></tr>
509 [% IF ( ALTERNATEHOLDINGS ) %]
510 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
511 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div>
514 <div id="noitems">No physical items for this record</div>
518 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
519 <span class="results_summary NovelistSelect" style="display:none;">
520 <span class="label">Novelist Select: </span>
521 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
526 [% IF (SeparateHoldings) %]
527 <div id="otherholdings">
528 [% IF (otheritemloop.size) %]
529 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
536 [% IF ( MARCNOTES || notes ) %]
538 <div id="description">
539 <div class="content_set">
541 [% IF ( MARCNOTES ) %]
542 [% FOREACH MARCNOTE IN MARCNOTES %]
544 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
545 <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
547 [% MARCNOTE.marcnote | html | html_line_break %]
553 <p>[% notes | html %]</p>
561 [% IF ( subscriptionsnumber ) %]
562 <div id="subscriptions">
563 <div id="catalogue_detail_subscriptions">
564 <h2>This is a serial subscription</h2>
565 <p> (There are [% subscriptionsnumber | html %] subscriptions associated with this title).</p>
566 [% FOREACH subscription IN subscriptions %]
567 [% IF subscription.branchcode %]
568 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]</h3>
570 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
571 [% IF ( subscription.location ) %]<p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %]</p>[% END %]
572 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber | html %] </p>[% END %]
573 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes | html | html_line_break %] </p>[% END %]
574 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist | html %] </p>[% END %]
575 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote | html %])</p>[% END %]
576 [% IF ( subscription.latestserials ) %]
577 <p> The [% subscription.staffdisplaycount | html %] latest issues related to this subscription:</p>
581 <th>Date arrived</th>
582 <th>Date published</th>
586 [% FOREACH latestserial IN subscription.latestserials %]
588 <td>[% latestserial.serialseq | html %]</td>
589 <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
590 <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
592 [% IF ( latestserial.status1 ) %]Expected[% END %]
593 [% IF ( latestserial.status2 ) %]Arrived[% END %]
594 [% IF ( latestserial.status3 ) %]Late[% END %]
595 [% IF ( latestserial.status4 ) %]Missing[% END %]
596 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
597 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
598 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
599 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
600 [% IF ( latestserial.status5 ) %]Not issued[% END %]
601 [% IF ( latestserial.status6 ) %]Delete[% END %]
602 [% IF ( latestserial.status7 ) %]Claimed[% END %]
603 [% IF ( latestserial.status8 ) %]Stopped[% END %]
605 <td>[% latestserial.notes | html %]</td>
610 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">Subscription details</a>
616 [% IF Koha.Preference('AcquisitionDetails') %]
617 <div id="acq_details">
618 [% IF orders.count %]
624 <th>Basket group</th>
626 <th>Order number</th>
627 <th class="title-string">Creation date</th>
628 <th class="title-string">Receive date</th>
631 <th>Internal note</th>
632 <th>Subscription</th>
633 <th>Subscription callnumber</th>
637 [% FOR order IN orders %]
638 [% SET basket = order.basket %]
639 [% SET vendor = basket.bookseller %]
642 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]" title="Vendor detail page">[% vendor.name | html %]</a>
645 [% IF order.invoiceid %]
646 [% IF CAN_user_acquisition %]
647 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
648 title="Invoice detail page">
649 [% order.invoice.invoicenumber | html %]</a>
651 [% order.invoice.invoicenumber | html %]
656 [% IF basket.basketgroupid %]
657 [% SET basket_group = basket.basket_group %]
658 [% IF CAN_user_acquisition_group_manage %]
659 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% vendor.id | uri %]&basketgroupid=[% basket_group.id | uri %]">[% basket_group.name | html%] ([% basket_group.id | html %])</a>
661 [% basket_group.name | html %] ([% basket_group.id | html %])
665 <td>[% IF CAN_user_acquisition_order_manage %]
666 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">[% basket.basketname | html %] ([% basket.basketno | html %])</a>
668 [% basket.basketname | html %] ([% basket.basketno | html %])
670 <td>[% order.ordernumber | html %]</td>
671 <td><span title="[% basket.creationdate | uri %]">[% basket.creationdate | $KohaDates%]</span></td>
672 <td><span title="[% order.datereceived | uri %]">[% order.datereceived | $KohaDates%]</span></td>
674 [% SWITCH order.orderstatus %]
676 [% CASE 'ordered' %]Ordered
677 [% CASE 'partial' %]Partial
678 [% CASE 'complete' %]Complete
679 [% CASE 'cancelled' %]Cancelled
682 <td>[% order.quantity | html %]</td>
683 <td>[% order.order_internalnote | html %]</td>
685 [% IF order.subscriptionid %]
686 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% order.subscriptionid | uri %]">[% order.subscriptionid | html %]</a>
690 [% IF order.subscriptionid %]
691 [% order.subscription.callnumber | html %]
699 There is no order for this bibliographic record.
704 [% IF suggestions.count %]
705 <div id="suggestion_details">
706 [% IF nb_archived_suggestions > 0 %]
707 <p>[% tnpx('pluralization', 'There is one archived suggestion.', 'There are {count} archived suggestions.', nb_archived_suggestions, { count = nb_archived_suggestions }) | $raw %]
709 <table id="suggestions" class="sorted">
712 <th class="NoSort"> </th>
713 <th class="anti-the">Suggestion</th>
714 <th>Suggested by - on</th>
715 <th>Managed by - on</th>
716 <th>Last modification by - on</th>
723 [% FOREACH suggestion IN suggestions %]
725 <td>[% suggestion.suggestionid | html %]</td>
727 <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% suggestion.suggestionid | uri %]&op=show" title="suggestion" >
728 [% suggestion.title | html %][% IF ( suggestion.author ) %], by [% suggestion.author | html %][% END %]</a>
730 [% IF ( suggestion.copyrightdate ) %]© [% suggestion.copyrightdate | html %] [% END %]
731 [% IF ( suggestion.volumedesc ) %]; Volume:<i>[% suggestion.volumedesc | html %]</i> [% END %]
732 [% IF ( suggestion.isbn ) %]; ISBN:<i>[% suggestion.isbn | html %]</i> [% END %][% IF ( suggestion.publishercode ) %]; Published by [% suggestion.publishercode | html %] [% END %][% IF ( suggestion.publicationyear ) %] in <i>[% suggestion.publicationyear | html %]</i> [% END %][% IF ( suggestion.place ) %] in <i>[% suggestion.place | html %]</i> [% END %][% IF ( suggestion.collectiontitle ) %]; [% suggestion.collectiontitle | html %] [% END %][% IF ( suggestion.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 0 ) | html %] [% END %]<br />[% IF ( suggestion.note ) %]<div class="suggestion_note"><i class="fa fa-comment"></i> [% suggestion.note | html %]</div>[% END %]
735 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.suggestedby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.suggester %]</a>
736 [% IF suggestion.suggesteddate %] - [% suggestion.suggesteddate | $KohaDates %][% END %]
739 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.managedby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.manager %]</a>
740 [% IF suggestion.manageddate %] - [% suggestion.manageddate | $KohaDates %][% END %]
743 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.lastmodificationby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.last_modifier %]</a>
744 [% IF suggestion.lastmodificationdate %] - [% suggestion.lastmodificationdate | $KohaDates %][% END %]
747 [% Branches.GetName( suggestion.branchcode ) | html %]
750 [% suggestion.fund.budget_name | html %]
753 [% IF suggestion.STATUS == 'ASKED' %]Pending
754 [% ELSIF suggestion.STATUS == 'ACCEPTED' %]Accepted
755 [% ELSIF suggestion.STATUS == 'ORDERED' %]Ordered
756 [% ELSIF suggestion.STATUS == 'REJECTED' %]Rejected
757 [% ELSIF suggestion.STATUS == 'CHECKED' %]Checked
758 [% ELSIF suggestion.STATUS == 'AVAILABLE' %]Available
759 [% ELSIF AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) %]
760 [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) | html %]
761 [% ELSE %]Status unknown
763 [% IF suggestion.reason %]
764 <br />([% suggestion.reason | html %])
774 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
775 <div id="editions"><h4>Editions</h4>
777 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
778 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description | html %][% ELSE %]<img src="[% XISBN.imageurl | html %]" alt="[% XISBN.description | html %]" title="[% XISBN.description | html %]">[% END %]</td>[% END %]
779 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate | html %]
780 [% IF ( XISBN.publishercode ) %]
781 [% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %]
783 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages | html %] [% IF ( XISBN.illus ) %][% XISBN.illus | html %][% END %]
784 [% IF ( XISBN.size ) %], [% END %][% XISBN.size | html %]
788 </table></div>[% END %]
791 [% IF ( LocalCoverImages ) %]
793 [% IF ( localimages.0 ) %]
794 <p>Click on an image to view it in the image viewer</p>
795 <ul class="thumbnails">
796 [% FOREACH image IN localimages %]
798 <li id="imagenumber-[% image | html %]" class="thumbnail">
799 <a href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | uri %]&imagenumber=[% image | uri %]">
800 <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image | uri %]" />
802 [% IF CAN_user_tools_upload_local_cover_images %]
803 <a href="#" class="remove"><i class="fa fa-trash"></i> Delete image</a>
809 [% ELSE # - No image passed JavaScript takes care %]
810 No images have been uploaded for this bibliographic record yet.
812 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
813 <p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&filetype=image"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>
819 [% IF ( HTML5MediaEnabled ) %]
820 <div id="html5media">
821 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
823 [% IF HTML5MediaSet.is_youtube %]
824 <iframe id="player" type="text/html" width="640" height="360"
825 src="[% HTML5MediaSet.srcblock | url %]" frameborder="0"></iframe>
827 <[% HTML5MediaParent | html %] controls preload=none>
828 <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]"[% HTML5MediaSet.typeblock | html %] />
829 [[% HTML5MediaParent | html %] tag not supported by your browser.]
830 </[% HTML5MediaParent | html %]>
838 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
839 <div id="NovelistSelect" class="novelistSelect">
840 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
844 [% FOREACH tab IN tabs %]
845 <div id="[% tab.id | html %]">
846 [% tab.content | $raw %]
850 </div><!-- /bibliodetails -->
852 <div id="export" style="margin-top: 1em;">
853 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
855 <th>Save record</th> </tr>
856 <tr><td> Select download format: <select name="format">
857 <option value="mods">MODS (XML)</option>
858 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
859 <option value="marcxml">MARCXML</option>
860 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
861 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
862 <input type="submit" name="save" value="Download record" /></td>
865 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
871 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
872 <div class="modal-dialog modal-lg">
873 <div class="modal-content">
874 <div class="modal-header">
875 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
876 <h3 id="marcPreviewLabel">MARC preview</h3>
878 <div class="modal-body">
879 <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
881 <div class="modal-footer">
882 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
889 </div> <!-- /.col-sm-10.col-sm-push-2 -->
891 <div class="col-sm-2 col-sm-pull-10">
893 [% INCLUDE 'biblio-view-menu.inc' %]
895 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
896 </div> <!-- /.row -->
900 [% MACRO jsinclude BLOCK %]
901 [% INCLUDE 'catalog-strings.inc' %]
902 [% Asset.js("js/catalog.js") | $raw %]
903 [% Asset.js("js/coce.js") | $raw %]
905 var interface = "[% interface | html %]";
906 var theme = "[% theme | html %]";
907 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
908 function verify_images() {
909 $("#bookcoverimg").each(function(i){
910 $(this).find('img').each(function(i){
911 if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
914 if ((w == 1) || (h == 1)) {
915 $("#amazon-bookcoverimg").remove();
916 } else if ((this.complete != null) && (!this.complete)) {
917 $("#amazon-bookcoverimg").remove();
921 if( $(this).find('img').length < 1 ){
923 $("#catalogue_detail_biblio").attr("class","col-xs-12");
926 $("#editions img").each(function(i){
927 if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
930 if ((w == 1) || (h == 1)) {
931 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
932 } else if ((this.complete != null) && (!this.complete)) {
933 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
939 function removeLocalImage(imagenumber) {
940 var thumbnail = $("#imagenumber-" + imagenumber );
941 var copy = thumbnail.html();
942 thumbnail.find("img").css("opacity", ".2");
943 thumbnail.find("a.remove").html("<img style='display:inline-block' src='" + interface + "/" + theme + "/img/spinner-small.gif' alt='' />");
945 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + biblionumber + "&imagenumber=" + imagenumber,
946 success: function(data) {
947 $(data).each( function(i) {
948 if ( this.deleted == 1 ) {
951 thumbnail.html( copy );
952 alert(_("An error occurred on deleting this image"));
954 if ( $('ul.thumbnails > li').length == 0 ) {
955 showNoImageMessage();
959 error: function(data) {
960 thumbnail.html( copy );
961 alert(_("An error occurred on deleting this image"));
966 function showNoImageMessage() {
967 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
968 no_images_msg = '<p>' + no_images_msg + '</p>';
969 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
970 var please_upload = _("Upload an image file: %sUpload%s").format("<a class='btn btn-default btn-xs' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=" + biblionumber + "&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ","</a>");
971 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
973 $('#images').html(no_images_msg);
976 [% IF StaffDetailItemSelection %]
977 function itemSelectionBuildDeleteLink(div) {
978 var itemnumbers = new Array();
979 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
980 itemnumbers.push($(this).val());
982 if (itemnumbers.length > 0) {
983 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
984 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
985 url += '&biblionumber=[% biblionumber | uri %]';
986 url += '&src=CATALOGUING';
987 $('a.itemselection_action_delete').attr('href', url);
994 function itemSelectionBuildModifyLink(div) {
995 var itemnumbers = new Array();
996 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
997 itemnumbers.push($(this).val());
999 if (itemnumbers.length > 0) {
1000 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
1001 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
1002 url += '&biblionumber=[% biblionumber | uri %]';
1003 url += '&src=CATALOGUING';
1004 $('a.itemselection_action_modify').attr('href', url);
1011 function itemSelectionBuildActionLinks(tab) {
1012 var div = $("#" + tab);
1013 var delete_link_ok = itemSelectionBuildDeleteLink(div);
1014 var modify_link_ok = itemSelectionBuildModifyLink(div);
1015 if (modify_link_ok || delete_link_ok) {
1016 $('.itemselection_actions', div).show();
1018 $('.itemselection_actions', div).hide();
1022 $(document).ready(function() {
1023 $('table.items_table').each(function() {
1024 var div = $(this).parent().attr("id");
1025 itemSelectionBuildActionLinks(div);
1028 $("input[name='itemnumber'][type='checkbox']").change(function() {
1029 var div = $(this).parents('table').parent().parent().attr("id");
1030 itemSelectionBuildActionLinks(div);
1033 $(".SelectAll").on("click",function(e){
1035 var tab = $(this).data("tab");
1036 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
1037 itemSelectionBuildActionLinks(tab);
1040 $(".ClearAll").on("click",function(e){
1042 var tab = $(this).data("tab");
1043 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
1044 itemSelectionBuildActionLinks(tab);
1049 $(document).ready(function() {
1050 $('#bibliodetails').tabs();
1051 [% IF count == 0 and ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) %]
1052 $('#bibliodetails').tabs("option", "active", $('#media_tab').index() );
1054 $('#search-form').focus();
1055 $('.thumbnails > li > .remove').click(function() {
1056 var result = confirm(_("Are you sure you want to delete this cover image?"));
1058 if ( result == true ) {
1059 var imagenumber = $(this).parent().attr('id').split('-')[1];
1060 removeLocalImage(imagenumber);
1065 [%# inject no images message %]
1066 [% IF LocalCoverImages %]
1067 KOHA.LocalCover.GetCoverFromBibnumber(true);
1069 [% IF ( IntranetCoce && CoceProviders ) %]
1070 KOHA.coce.getURL('[% CoceHost | html %]', '[% CoceProviders | html %]');
1073 $("body").on("click",".previewMARC", function(e){
1075 var page = $(this).attr("href");
1076 $("#marcPreview .modal-body").load(page + " table");
1077 $('#marcPreview').modal({show:true});
1079 $("#marcPreview").on("hidden.bs.modal", function(){
1080 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1082 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1083 novSelect.loadContentForQuery({
1084 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1085 ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1088 '[% Koha.Preference('NovelistSelectStaffProfile') | html %]',
1089 '[% Koha.Preference('NovelistSelectPassword') | html %]',
1091 if ( d.length > 0 ){ //If no content
1092 $(".NovelistSelect").show();
1096 $(".print-label").on("click", function(e){
1098 link = $(this).attr("href");
1099 openWindow(link,"Print spine label",400,400);
1103 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
1107 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1108 <script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1110 [% INCLUDE 'datatables.inc' %]
1111 [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
1112 [% INCLUDE 'strings.inc' %]
1113 [% INCLUDE 'columns_settings.inc' %]
1114 [% Asset.js("js/browser.js") | $raw %]
1115 [% Asset.js("js/table_filters.js") | $raw %]
1118 browser = KOHA.browser('[% searchid | html %]', parseInt(biblionumber, 10));
1121 $(document).ready(function() {
1122 var ids = ['holdings_table', 'otherholdings_table'];
1123 var columns_settings = [ [% ColumnsSettings.GetColumns('catalogue', 'detail','holdings_table','json') | $raw %], [% ColumnsSettings.GetColumns('catalogue', 'detail','otherholdings_table','json') | $raw %] ];
1124 for (var i in ids) {
1126 var dt_parameters = {
1129 'bAutoWidth': false,
1131 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
1132 { "sType": "title-string", "aTargets" : [ "title-string" ] }
1134 "bKohaColumnsUseNames": true,
1135 "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
1137 var table = KohaTable(id, dt_parameters, columns_settings[i], 'with_filters');
1140 [% IF Koha.Preference('AcquisitionDetails') %]
1141 var columns_settings = [% ColumnsSettings.GetColumns('catalogue', 'detail', 'acquisitiondetails-table', 'json') %];
1142 var acquisitiondetails_table = KohaTable("orders", {
1143 "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
1145 'bAutoWidth': false,
1146 "aaSorting": [[ 4, "desc" ]],
1148 { "aTargets": "title-string", "sType": "title-string" }
1150 }, columns_settings);
1153 [% IF suggestions.count %]
1154 $(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, {
1156 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
1157 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
1159 "sPaginationType": "full"
1165 [% INCLUDE 'intranet-bottom.inc' %]