fixed Javascript in additem.tmpl
[koha.git] / serials / reorder_members.pl
blobd82f2d7a89da2a6a1542f063e7791b74b3caeffb
1 #!/usr/bin/perl
3 # Routing.pl script used to create a routing list for a serial subscription
4 # In this instance it is in fact a setting up of a list of reserves for the item
5 # where the hierarchical order can be changed on the fly and a routing list can be
6 # printed out
7 use strict;
8 use CGI;
9 use C4::Auth;
10 use C4::Context;
11 use C4::Output;
12 use C4::Koha;
13 use C4::Acquisition;
14 use C4::Serials;
16 my $query = new CGI;
17 my $subscriptionid = $query->param('subscriptionid');
18 my $routingid = $query->param('routingid');
19 my $rank = $query->param('rank');
21 reorder_members($subscriptionid,$routingid,$rank);
23 print $query->redirect("/cgi-bin/koha/serials/routing.pl?subscriptionid=$subscriptionid");