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

(-)a/acqui/lateorders-export.pl (-10 / +10 lines)
Lines 2-19 Link Here
2
2
3
# This file is part of Koha.
3
# This file is part of Koha.
4
#
4
#
5
# Koha is free software; you can redistribute it and/or modify it under the
5
# Koha is free software; you can redistribute it and/or modify it
6
# terms of the GNU General Public License as published by the Free Software
6
# under the terms of the GNU General Public License as published by
7
# Foundation; either version 2 of the License, or (at your option) any later
7
# the Free Software Foundation; either version 3 of the License, or
8
# version.
8
# (at your option) any later version.
9
#
9
#
10
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
10
# Koha is distributed in the hope that it will be useful, but
11
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
13
#
14
#
14
# You should have received a copy of the GNU General Public License along
15
# You should have received a copy of the GNU General Public License
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
use CGI;
19
use CGI;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-1 / +1 lines)
Lines 217-223 $(document).ready(function() { Link Here
217
        	[% END %]
217
        	[% END %]
218
		</select>
218
		</select>
219
</ol>
219
</ol>
220
	<fieldset class="action"><input type="submit" value="Filter" /></fieldset>
220
    <fieldset class="action"><input type="submit" value="Filter" /></fieldset>
221
</fieldset>
221
</fieldset>
222
    </form>
222
    </form>
223
[% INCLUDE 'acquisitions-menu.inc' %]
223
[% INCLUDE 'acquisitions-menu.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-14 / +14 lines)
Lines 36-55 Link Here
36
               // We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error.
36
               // We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error.
37
             var selected = $("input[name=serialid]:checked");
37
             var selected = $("input[name=serialid]:checked");
38
38
39
		if (selected.length == 0) {
39
        if (selected.length == 0) {
40
			alert(_("Please select at least one item to export."));
40
            alert(_("Please select at least one item to export."));
41
			return false;
41
            return false;
42
		}
42
        }
43
		
43
44
		// Building the url from currently checked boxes
44
        // Building the url from currently checked boxes
45
		var url = '/cgi-bin/koha/serials/lateissues-export.pl?supplierid=&amp;op=claims';
45
        var url = '/cgi-bin/koha/serials/lateissues-export.pl?supplierid=&amp;op=claims';
46
		for (var i = 0; i < selected.length; i++) {
46
        for (var i = 0; i < selected.length; i++) {
47
		    url += '&amp;serialid=' + selected[i].value;
47
            url += '&amp;serialid=' + selected[i].value;
48
		}
48
        }
49
		// And redirecting to the CSV page
49
        // And redirecting to the CSV page
50
		location.href = url;
50
        location.href = url;
51
		return false;
51
        return false;
52
	    });	
52
        });
53
53
54
        $("#titlefilter").keyup( function () {
54
        $("#titlefilter").keyup( function () {
55
            sTable.fnFilter( this.value, 3 ); // 3 is position of title column
55
            sTable.fnFilter( this.value, 3 ); // 3 is position of title column
(-)a/serials/lateissues-export.pl (-13 / +11 lines)
Lines 2-22 Link Here
2
2
3
# This file is part of Koha.
3
# This file is part of Koha.
4
#
4
#
5
# Koha is free software; you can redistribute it and/or modify it under the
5
# Koha is free software; you can redistribute it and/or modify it
6
# terms of the GNU General Public License as published by the Free Software
6
# under the terms of the GNU General Public License as published by
7
# Foundation; either version 2 of the License, or (at your option) any later
7
# the Free Software Foundation; either version 3 of the License, or
8
# version.
8
# (at your option) any later version.
9
#
9
#
10
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
10
# Koha is distributed in the hope that it will be useful, but
11
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
13
#
14
#
14
# You should have received a copy of the GNU General Public License along
15
# You should have received a copy of the GNU General Public License
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use strict;
18
use Modern::Perl;
19
use warnings;
20
use CGI;
19
use CGI;
21
use C4::Auth;
20
use C4::Auth;
22
use C4::Serials;
21
use C4::Serials;
23
- 

Return to bug 7298