b35ebc644e
The first new table is branch_borrower_circ_rules. This table is used to store circulation rule attributes that apply to a combination of patron category and branch across all item types. The one attribute defined is maxissueqty, which sets the maximum number of loans that a patron of a given category can take out at a given branch. Note that branch_borrower_circ_rules is for attributes that apply across all item types. This means that issuingrules.maxissueqty has a different meaning: it is the maximum number of loans per branch, category, and item type; if issuingrules.itemtype is '*', that is a *default* circulation rule used if no more specific rule is found. The new table will allow the implementation of total loan limit across item types without making the wildcard '*' in issuingrules ambiguous. Specifically, if branchcode, categorycode, or itemtype is issuingrules is '*', that will now always mean a loan rule to be applied if a more specific rule cannot be found. Setting issuingrules.itemtype to '*' will no longer mean to set a total limit across item types for maxissueqty. The remaining new tables are used to store default rules for the default branch, the default patron category, or both: default_branch_circ_rules - for a given branch, specify the rule to apply if no more specific rule on branch and patron category is found (i.e. patron category is default) default_borrower_circ_rules - for a given patron category, specify the rule to apply if no more specific rule on branch patron category is found (i.e., branch is default) default_circ_rules - global default if no more specify rule on patron category and branch is available. Note that this table is constructed so that it can have at most one row. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
20 lines
659 B
Perl
20 lines
659 B
Perl
# the next koha public release version number;
|
|
# the kohaversion is divided in 4 parts :
|
|
# - #1 : the major number. 3 atm
|
|
# - #2 : the functionnal release. 00 atm
|
|
# - #3 : the subnumber, moves only on a public release
|
|
# - #4 : the developer version. The 4th number is the database subversion.
|
|
# used by developers when the database changes. updatedatabase take care of the changes itself
|
|
# and is automatically called by Auth.pm when needed.
|
|
|
|
use strict;
|
|
|
|
sub kohaversion {
|
|
our $VERSION = "3.00.00.090";
|
|
# version needs to be set this way
|
|
# so that it can be picked up by Makefile.PL
|
|
# during install
|
|
return $VERSION;
|
|
}
|
|
|
|
1;
|