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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt (-5 / +20 lines)
Lines 23-32 Link Here
23
	//<![CDATA[
23
	//<![CDATA[
24
24
25
var MSG_NO_RECORD_SELECTED = _("Please select one or more items");
25
var MSG_NO_RECORD_SELECTED = _("Please select one or more items");
26
27
$.tablesorter.addParser({
28
    // set a unique id
29
    id: 'links',
30
    is: function(s)
31
    {
32
        // return false so this parser is not auto detected
33
        return false;
34
    },
35
    format: function(s)
36
    {
37
        // format your data for normalization
38
        return s.replace(new RegExp(/<.*?>/),"");
39
    },
40
    // set type, either numeric or text
41
    type: 'text'
42
});
43
26
$(document).ready(function()
44
$(document).ready(function()
27
    {
45
    {
28
        $("#itemst").tablesorter({
46
        $("#itemst").tablesorter({
29
                        headers: { 0: { sorter: false },4:{sorter:false}}
47
                        headers: { 0: { sorter: false }, 1: {sorter: 'links'}, 4:{sorter:false}}
30
                });
48
                });
31
    $(".cb").click(function(){
49
    $(".cb").click(function(){
32
      enableCheckboxActions();
50
      enableCheckboxActions();
Lines 368-376 function enableCheckboxActions(){ Link Here
368
386
369
                </td> [% END %]
387
                </td> [% END %]
370
            <td>
388
            <td>
371
		<a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">
389
		<a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
372
                        [% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]
373
                </a>
374
                <!-- COinS / Openurl -->
390
                <!-- COinS / Openurl -->
375
		    <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.size %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
391
		    <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.size %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
376
		    [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]<div id="newtag[% BIBLIO_RESULT.biblionumber %]_status" class="tagstatus results_summary" style="display:none">Tag status here.</div>[% END %][% END %][% END %]
392
		    [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]<div id="newtag[% BIBLIO_RESULT.biblionumber %]_status" class="tagstatus results_summary" style="display:none">Tag status here.</div>[% END %][% END %][% END %]
377
- 

Return to bug 7873