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

--- Comment #8 from Martin Renvoize <[email protected]> ---
Comment on attachment 136671
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136671
Bug 30982: Use the REST API for background job list view

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

::: Koha/REST/V1/BackgroundJobs.pm
@@ +43,5 @@
> +        my $background_jobs_set =
> +          $can_manage_background_jobs
> +          ? Koha::BackgroundJobs->new
> +          : Koha::BackgroundJobs->search(
> +            { borrowernumber => $patron->borrowernumber } );

This feels like it should be achievable with the 'allow_owner: true' swagger
definition rather than needing special handling here.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to