[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 21:27:31 CEST 2019


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #91452|0                           |1
        is obsolete|                            |

--- Comment #13 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 91469
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91469&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

Signed-off-by: Jessica Zairo <jzairo at bywatersolutions.com>

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


More information about the Koha-bugs mailing list