[Koha-bugs] [Bug 29275] Use the API to render checkout history for a biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 16 20:52:33 CET 2021


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

--- Comment #17 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127704
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127704&action=edit
Bug 29275: (follow-up) Split columns settings and handle upgrade

This patch splits the table settings as we now have two tables. The
atomic update takes care of setting the right values (if present) on the
new tables entries.

To test:
1. Do not apply this patch
2. Set some values you will remember for the checkoutshistory-table
   table
3. Run:
   $ koha-mysql kohadev
   > SELECT * FROM columns_settings WHERE tablename='checkoutshistory-table';
=> SUCCESS: Koha currently works :-D
4. Apply this patch
5. Run:
   $ updatedatabase
6. Repeat 3
=> SUCCESS: Things have been deleted
7. Run:
   $ koha-mysql kohadev
   > SELECT * FROM columns_settings WHERE tablename LIKE '%_checkouts-table';
=> SUCCESS: old_checkouts-table and current_checkouts-table have the
right setting
8. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list