]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Teach the staff client volume copy creator to respect OU call number preferences
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 9 Aug 2010 20:33:26 +0000 (20:33 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 9 Aug 2010 20:33:26 +0000 (20:33 +0000)
commit876068fb28bdf8159b375fb1a563a5baabf98feb
treee7a31fbe94676cf9dc1cde5725ecdaabb69a58c4
parent1603a9e91c5165c52da3dee9e0f3a86f190bdbbf
Teach the staff client volume copy creator to respect OU call number preferences

To teach the "Add volumes" dialog in the staff client how to show the correct
set of call numbers based on the workstation OU's default classification
scheme, this commit:

  * Adds a column "field" to the asset.call_number_class table that specifies
    the list of tag/subfield combinations to search for a candidate call number
    for a given classification scheme
  * Adds a new OU setting, 'cat.default_classification_scheme', that points
    to the asset.call_number_class ID
  * Extends the open-ils.cat.biblio.record.marc_cn.retrieve method to support
    a second argument, identifying the classification scheme for the call
    number extraction
  * Fixes the IDL for asset.call_number_class to include the ID as an explicit
    field
  * Makes the "Add volumes" dialog look up the 'cat.default_classification_scheme'
    setting for the workstation OU and apply that to the call to the
    open-ils.cat.biblio.record.marc_cn.retrieve method

TODO:
  * Provide a means of switching the classification scheme for the current volume,
    repopulating the call number selector widget
  * Save the chosen scheme as part of the acn object

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17141 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0365.schema.asset_call_number_class_field.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js