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

(-)a/C4/Serials.pm (-2 / +4 lines)
Lines 613-620 sub GetSubscriptions { Link Here
613
613
614
    while ( my $line = $sth->fetchrow_hashref ) {
614
    while ( my $line = $sth->fetchrow_hashref ) {
615
        if ( $previousbiblio eq $line->{biblionumber} ) {
615
        if ( $previousbiblio eq $line->{biblionumber} ) {
616
            $line->{title} = "";
616
            # Disabled for sorting and filtering on issn and title
617
            $line->{issn}  = "";
617
            # to work on serials-home.pl
618
            #$line->{title} = "";
619
            #$line->{issn}  = "";
618
        } else {
620
        } else {
619
            $previousbiblio = $line->{biblionumber};
621
            $previousbiblio = $line->{biblionumber};
620
            $odd           = -$odd;
622
            $odd           = -$odd;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt (-12 / +26 lines)
Lines 1-18 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
2
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
5
<script type="text/javascript">
7
<script type="text/javascript">
6
//<![CDATA[
8
//<![CDATA[
7
 $(document).ready(function() {
9
 $(document).ready(function() {
8
        $("#srlt").tablesorter({
10
    var srlt = $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
9
            headers: {
11
        "aoColumnDefs": [
10
                2: { sorter: false },
12
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
11
                4: { sorter: false },
13
        ],
12
				5: { sorter: false }
14
        "sPaginationType": "full_numbers"
13
            }
15
    } ) );
14
        }); 
16
15
 }); 
17
    srlt.fnAddFilters("filter", 750);
18
 });
16
 //]]>
19
 //]]>
17
</script>
20
</script>
18
</head>
21
</head>
Lines 73-79 Serials updated : Link Here
73
        [% IF ( done_searched ) %]
76
        [% IF ( done_searched ) %]
74
<h2>Serials subscriptions</h2>
77
<h2>Serials subscriptions</h2>
75
78
76
    <table id="srlt">
79
    <table id="srlt" class="display">
77
	<thead>
80
	<thead>
78
        <tr>
81
        <tr>
79
            <th>ISSN</th>
82
            <th>ISSN</th>
Lines 85-93 Serials updated : Link Here
85
            [% IF ( routing ) %]
88
            [% IF ( routing ) %]
86
              <th>Routing list</th>
89
              <th>Routing list</th>
87
            [% END %]        
90
            [% END %]        
88
            <th colspan="2">&nbsp;</th>
91
            <th>&nbsp;</th>
92
            <th>&nbsp;</th>
89
        </tr>
93
        </tr>
90
	</thead>
94
	</thead>
95
    <tfoot>
96
        <tr>
97
            <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
98
            <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
99
            <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
100
            <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
101
            <td></td>
102
            <td></td>
103
            <td></td>
104
        </tr>
105
    </tfoot>
91
	<tbody> 
106
	<tbody> 
92
        [% FOREACH subscription IN subscriptions %]
107
        [% FOREACH subscription IN subscriptions %]
93
        [% UNLESS ( loop.odd ) %]
108
        [% UNLESS ( loop.odd ) %]
94
- 

Return to bug 6838