]> git.koha-community.org Git - koha.git/commit
Bug 7919 : Display of values depending on the connexion library
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 28 Nov 2012 15:36:03 +0000 (16:36 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 5 Dec 2012 15:10:57 +0000 (10:10 -0500)
commitacbfe26c9ef6e40f4509babd6e1d39e1762e13e3
treedc4fc95d93e44f82c8ba866ba9bf05f9727ac1ef
parent04b4afbd92ab952671e5ea6124e9e95da4a05874
Bug 7919 : Display of values depending on the connexion library

In a librairies network, we would like to declare specific values just
for one (or more) library.
Here we implement the ability to associate categories, patron attributes
types and/or authorised_values with librairies (branches).

This patch adds 3 new association tables:
- categories_branches ( association table between categories and branches )
- authorised_values_branches ( association table between
  authorised_values and branches )
- borrower_attribute_types_branches (association table between
  borrower_attribute_types and branches )

Plan test:
  - Create (or modify) categories, patron attributes and
    authorised_values and link it with one (or more) library.
  - Set one of these librairies
  - Go to one of the multiple pages where this specific value must be displayed
    and check that it does appear.
  - Set a library not concerned.
  - Check on the same pages this value is doest not appear.

A page list:
cataloguing/addbiblio.pl
cataloguing/additems.pl
members/members-home.pl
members/memberentry.pl
acqui/neworderempty.pl
tools/modborrowers.pl
and others :)

Please say me if filters don't work on some pages.

Signed-off-by: Delaye Stephane <stephane.delaye@biblibre.com>
Signed-off-by: Koha Team Lyon 3 <koha@univ-lyon3.fr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Melia Meggs <melia@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
21 files changed:
C4/Budgets.pm
C4/Category.pm
C4/Input.pm
C4/Items.pm
C4/Koha.pm
C4/Members.pm
C4/Members/AttributeTypes.pm
C4/Members/Attributes.pm
admin/authorised_values.pl
admin/categorie.pl
admin/patron-attr-types.pl
cataloguing/addbiblio.pl
cataloguing/additem.pl
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
members/member.pl
tools/batchMod.pl
tools/import_borrowers.pl