[Koha-bugs] [Bug 15497] Limit Item Types by Branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 11 01:02:07 CEST 2019


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

--- Comment #11 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 91452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91452&action=edit
Bug 15497: Limit itemtypes by branch in additem.pl

This patch adds a select multiple when you add/edit an itemtype, creates
functions to return itemtypes by library, and filters the options of itemtype
select in additem

To test:
1) Apply this patch set
2) perl installer/data/mysql/updatedatabase.pl
3) In koha administration => item types, edit "Books" itemtype
CHECK => there is now a select multiple whith libraries at the bottom
4) select centerville and save
5) set centerville as current libary
6) search for any biblio in the catalog
7) click on "edit items"
CHECK => book item type is present
8) set any other libary as current library
SUCCESS => book item type is not present
9) Sign off

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


More information about the Koha-bugs mailing list