Bug 34478: Add 'op' to serials/subscription-batchedit
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
833fe2d2f0
commit
102ae26beb
|
|
@ -162,7 +162,8 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
<button type="submit" name="batchedit" class="btn btn-primary" value="1">Save</button>
|
||||
<input type="hidden" name="op" value="cud-batchedit" />
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
<a class="cancel" href="[% referrer | url %]">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ foreach my $subscriptionid (@subscriptionids) {
|
|||
|
||||
my @available_additional_fields = Koha::AdditionalFields->search( { tablename => 'subscription' } )->as_list;
|
||||
|
||||
my $batchedit = $cgi->param('batchedit');
|
||||
if ($batchedit) {
|
||||
my $op = $cgi->param('op') || q{};
|
||||
if ( $op eq 'cud-batchedit' ) {
|
||||
my %params = (
|
||||
aqbooksellerid => scalar $cgi->param('booksellerid'),
|
||||
location => scalar $cgi->param('location'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue