Summary: | Sync the functionality of the datatables api wrapper on the OPAC with the Staff Client equivilent | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Architecture, internals, and plumbing | Assignee: | Martin Renvoize (ashimema) <martin.renvoize> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | david, dcook, fridolin.somers, jonathan.druart, kyle, oleonard, tomascohen, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This patch 1) renames the Koha REST JS dataTables wrapper from the
ambiguous 'api' to the clearer 'kohaTable' 2) goes through the codebase and updates existing relevant calls to .api referencing the Koha REST dataTables wrapper to use the name 'kohaTable', and 3) adds JSDoc formatted parameter documentation for the kohaTable function.
|
|
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 29408 | ||
Bug Blocks: | |||
Attachments: | Bug 29896: Update datatables wrapper in the OPAC |
Description
Martin Renvoize (ashimema)
2022-01-17 15:23:32 UTC
Reworking this a bit.. lots of functionality is missing from the OPAC version Created attachment 129540 [details] [review] Bug 29896: Update datatables wrapper in the OPAC This patch updates the datatables api wrapper from 'api' to 'kohaTable' to match the function of the same intention with the name in the staff client. As far as I can tell.. this wrapper function isn't actually used anywhere in the OPAC as yet.. so I'll leave it here and when we come to use it I can pick the code back up again. We need to implement the column ordering fixes, the match type fixes and the column filters fixes at some point.. assuming we need them at the OPAC. |