Savannah seems out of synch.Code cleaning removal of Date::Manip
[koha.git] / serials / reorder_members.pl
1 #!/usr/bin/perl
2
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
10 use C4::Acquisition;
11 use C4::Interface::CGI::Output;
12
13 use C4::Serials;
14
15
16 my $query = new CGI;
17 my $subscriptionid = $query->param('subscriptionid');
18 my $routingid = $query->param('routingid');
19 my $rank = $query->param('rank');
20
21 reorder_members($subscriptionid,$routingid,$rank);
22
23 print $query->redirect("/cgi-bin/koha/serials/routing.pl?subscriptionid=$subscriptionid");
24