[Koha-bugs] [Bug 29570] Unable to sort summary column of pending_orders table on parcel.pl by summary column

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 8 15:21:23 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29570

--- Comment #16 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #13)
> Comment on attachment 130126 [details] [review]
> Bug 29570: Fix sorting orders by biblioitems columns
> 
> Review of attachment 130126 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: Koha/REST/V1/Acquisitions/Orders.pm
> @@ +76,5 @@
> >          }
> >  
> > +        if ( exists $reserved_params->{_order_by} ) {
> > +            # _order_by passed, fix if required
> > +            for ( my $i = 0; $i < scalar @{$reserved_params->{_order_by}}; $i++ ) {
> 
> You could write it in perl instead of javascript ;)

This is more C-ish

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list