Examples of DBIC in Koha
Jump to navigation
Jump to search
Examples of DBIx::Class (aka DBIC) being used in Koha. Feel free to add more!
Pushed to main
Where it all started
Bug 8798 - Add the use of DBIx::Class
Koha::Schema::Result::Item::effective_itemtype
Adds a new sub called effective_itemtype to Koha/Schema/Result/Item.pm
Tests in t/db_dependent/Items.t
circ/renew.pl
A new "page" circ/renew.pl in the Intranet that only uses DBIC, not DBI.
Patron lists
Scripts in the patron_lists directory do not use DBIC, but the new module in Koha/List/Patron.pm does.
Tests in t/db_dependent/PatronLists.t.
admin/z3950servers.pl
This script was refactored to use DBIC by Bug 12265.
Misc
Smaller bugs that introduce usage of DBIC.
- Bug 6254 - can't set patron privacy by default
In progress
Bug 8007 - Discharge management
I (Jonathan) tried something on Bug 8007.
Bug 11084 - Delete biblios on Leader 05 =d
Uses DBIC to find the biblios that should be deleted.