]> git.koha-community.org Git - koha.git/commit
Bug 10678 - Allow framework selection when creating from Z39.50
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 2 Aug 2013 18:22:43 +0000 (15:22 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 13 Sep 2013 19:00:25 +0000 (16:00 -0300)
commit61baf514ef08e5d50acacb9cd6e1350f28c750d3
treeaaadeecb294dd971e908e3f595a2a253f74b7e89
parentf6d1d5cd6c4f93f6c592170f59241268dfff79cb
Bug 10678 - Allow framework selection when creating from Z39.50

If we are creating a new record, we are forced to use the default framework
and then change it after we have the cataloguing form filled. This patch
adds the option to choose (from a splitted button dropdown) which framework
to use.

To test:
- Apply the patch.
- Go to More > Cataloguing
- Check there's a nice split button that says "New from Z39.50"
a) Click the button, the usual Z39.50 search popup should appear and work as expected
   (check the URL parameters and see frameworkcode= has no value
b) Click on the dropdown arrow, choose a framework and the usual Z39.50 search popup should
   appear, this time frameworkcode= should have the chosen value.

Edit: fixed a small bug that prevented the default framework to be called. Thanks Owen for testing.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Melia Meggs <melia@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Notes on second patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a2e7e6ef1cc4306e5429ca99317b96479cfa26d2)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt