https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37637
--- Comment #2 from Sam Lau <[email protected]> --- (In reply to Jonathan Druart from comment #1) > Hi Sam, this seems like a huge work. Please share with us your plan before > starting :) Sure. Firstly, we need to remove all of the body code for building the table using a for loop in additem.tt and fixup the headers as well. Then in the cataloging_additem.js, we would need to build the table using kohaTable with '/api/v1/biblios/' + biblionumber + '/items?' as the ajax url. Then for the columns we can simply grab the responses from the api, and make necessary render or function changes for certain ones. For example, the actions button will need to have a custom data function to ensure the button functionality still works. Also, the home and holding libraries (among other things) need to be rendered as a string rather than the code. Also need to hide the columns that have no data upon loading. That's pretty much the big stuff -- 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/
