[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
Fri Sep 23 11:45:57 CEST 2022


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

--- Comment #77 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 140896
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140896&action=edit
Bug 30982: (QA follow-up) Remove redundancy from template

The template now contains two lists for both status and type:
a TT list and a JS list. The type list already proves that
redundancy leads to bugs. We miss three types at one side:
    Unknown job type 'stage_marc_for_import'
    Unknown job type 'marc_import_commit_batch'
    Unknown job type 'marc_import_revert_batch'

This patch removes the TT list. And gets the status and type
via an additional js call. For that reason I hide the fieldset
until document ready. This can be improved later when needed.

Test plan:
Look at status and type on both job list and detail view.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list