]> git.koha-community.org Git - koha.git/commit
Bug 9295: Introduce operator equal/ notequal to OAI set mapping instead of hardcoded...
authorMirko Tietgen <mirko@abunchofthings.net>
Fri, 14 Dec 2012 17:01:37 +0000 (18:01 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 23:03:30 +0000 (23:03 +0000)
commit8369aa8431a7948d0b26c59be94ff5b90f71a7a2
treeac7ae692aac952331fee11fd93013dfeb5fb10fb
parent9f6999bfdb12d2dd19c454a6b54a58a3f7a6490d
Bug 9295: Introduce operator equal/ notequal to OAI set mapping instead of hardcoded 'equal' value.

In OAI set mappings, the value "is equal to" is hardcoded. This
enhancement changes it to a dropdown menu to choose between "is equal
to" and "not equal to".

To test:

* define a set
* define a mapping for said set with "is equal to"
* run /misc/migration_tools/build_oai_sets.pl -r -v
* confirm that you have correct entries in SQL: select * from
  oai_sets_biblios;
* change mapping to 'not equal to', save
* run /misc/migration_tools/build_oai_sets.pl -r -v
* confirm that you have correct entries in SQL: select * from
  oai_sets_biblios;

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Amended patch: Fix bug id in updatedb.pl

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/OAI/Sets.pm
admin/oai_set_mappings.pl
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/oai_set_mappings.tt