Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Examples of DBIC in Koha

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

Examples of DBIx::Class (aka DBIC) being used in Koha. Feel free to add more!

Pushed to master

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

Bug 11518

circ/renew.pl

A new "page" circ/renew.pl in the Intranet that only uses DBIC, not DBI.

Bug 10493

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.

Bug 10565

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.