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

(-)a/C4/Serials.pm (-2 lines)
Lines 608-615 sub GetSubscriptions { Link Here
608
    $sth = $dbh->prepare($sql);
608
    $sth = $dbh->prepare($sql);
609
    $sth->execute(@bind_params);
609
    $sth->execute(@bind_params);
610
    my @results;
610
    my @results;
611
    my $previousbiblio = "";
612
    my $odd           = 1;
613
611
614
    while ( my $line = $sth->fetchrow_hashref ) {
612
    while ( my $line = $sth->fetchrow_hashref ) {
615
        $line->{'cannotedit'} =
613
        $line->{'cannotedit'} =
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt (-15 / +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
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
5
<script type="text/javascript">
8
<script type="text/javascript">
6
//<![CDATA[
9
//<![CDATA[
7
 $(document).ready(function() {
10
 $(document).ready(function() {
8
        $("#srlt").tablesorter({
11
    var srlt = $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
9
            headers: {
12
        "aoColumnDefs": [
10
                2: { sorter: false },
13
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
11
                4: { sorter: false },
14
        ],
12
				5: { sorter: false }
15
        "sPaginationType": "four_button"
13
            }
16
    } ) );
14
        }); 
17
15
 }); 
18
    srlt.fnAddFilters("filter", 750);
19
 });
16
 //]]>
20
 //]]>
17
</script>
21
</script>
18
</head>
22
</head>
Lines 85-100 Serials updated : Link Here
85
            [% IF ( routing ) %]
89
            [% IF ( routing ) %]
86
              <th>Routing list</th>
90
              <th>Routing list</th>
87
            [% END %]        
91
            [% END %]        
88
            <th colspan="2">&nbsp;</th>
92
            <th>&nbsp;</th>
93
            <th>&nbsp;</th>
89
        </tr>
94
        </tr>
90
	</thead>
95
	</thead>
96
    <tfoot>
97
        <tr>
98
            <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
99
            <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
100
            <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
101
            <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
102
            <td></td>
103
            <td></td>
104
            <td></td>
105
        </tr>
106
    </tfoot>
91
	<tbody> 
107
	<tbody> 
92
        [% FOREACH subscription IN subscriptions %]
108
        [% FOREACH subscription IN subscriptions %]
93
        [% UNLESS ( loop.odd ) %]
94
            <tr class="highlight">
95
        [% ELSE %]
96
            <tr>
109
            <tr>
97
        [% END %]
98
                <td>
110
                <td>
99
                [% IF ( subscription.issn ) %][% subscription.issn %]
111
                [% IF ( subscription.issn ) %][% subscription.issn %]
100
                [% END %]
112
                [% END %]
101
- 

Return to bug 6838