[Koha-bugs] [Bug 24857] Add ability to group items for records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 7 16:12:31 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24857
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #124362|0 |1
is obsolete| |
--- Comment #454 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 124613
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124613&action=edit
Bug 24857: Adapt code to the volumes => item_groups change
This patch updates the code so all references to 'volumes' are
translated into 'item groups'.
Relevant changes:
- API routes and specs
- Permission name is changed
- Syspref name changed
Note: I removed a behavior that felt unnatural (at least in the place it
was put): deleting the item group if the linked item is deleted. It
feels like a controller thing, and also something that could be offered
to the staff on the UI on item deletion. To avoid blocking the feature,
I suggest this removal, and discuss it in its own context.
To test:
1. Run:
$ reset_all
2. Apply this patchset
3. Run:
$ updatedatabase
=> SUCCESS: Update works
4. Repeat 1 (with the patches applied)
=> SUCCESS: Install works with this DB structure
5. Run all the tests:
$ kshell
k$ git diff origin/master --name-only | grep -e '\.t$' | xargs prove
=> SUCCESS: Tests pass!
6. Follow the original plan (with the Volume=>ItemGRoup change in mind)
=> SUCCESS: All good!
7. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list