[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 09:54:19 CET 2022


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

--- Comment #13 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Comment on attachment 130126
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130126
Bug 29570: Fix sorting orders by biblioitems columns

Review of attachment 130126:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=29570&attachment=130126)
-----------------------------------------------------------------

::: 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 ;)

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


More information about the Koha-bugs mailing list