[Koha-bugs] [Bug 30982] Use the REST API for background job list view

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 10:22:20 CEST 2022


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

--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
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.


More information about the Koha-bugs mailing list