Koha/koha-tmpl/intranet-tmpl/prog/en
David Cook 01f7542f4b Bug 10097 - Hide framework selection when importing staged authority records
Currently, when importing authority records using the "Manage staged
MARC records" tool, it will show the text "Add new bibliographic records
into this framework:" followed by a drop-down menu of possible frameworks.

Since these are bibliographic frameworks and we're importing authority
records which do not use them, we have no need to show this information.

I'm proposing just a little patch to display this info only for
bibliographic records. From my tests, everything seems to work fine
without this text and the drop-down, although I've only uploaded one
MARC21 authority record at a time.

--

Test Plan:

Before applying patch...

1) Find yourself an authority record. I recommend downloading your
favourite author from: http://authorities.loc.gov/
2) Stage MARC for import. Choose "Authority" as your record type.
3) Go to "Manage staged records"
4) Underneath the button "Import this batch into the catalog", you
should see the text "Add new bibliographic records into this framework:"
followed by a drop-down of the available frameworks.

Optionally) You can also try this for bibliographic records. You'll find
the same.

After applying the patch...

5) Repeat steps 2 and 3.
6) Underneath the button "Import this batch into the catalog", you
should just see a table listing your MARC record(s).
7) Stage MARC for import. Choose "Bibliographic" as your record type.
8) Go to "Manage staged records".
9) You should find step 4 still to be true (i.e. the "Add new
bibliographic..." text should still be there).

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Small template change, passes all tests.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-01 07:34:20 -04:00
..
css Bug 9766 - Remove YUI menu on budget planning page in favor of different column-hiding system 2013-04-25 21:56:49 -04:00
includes Bug 10153 - Patron header search form is too wide 2013-05-01 06:23:43 -04:00
js Bug 6709 - marc21_field_006.xml and marc21_field_008.xml can't be translated 2013-05-01 06:53:38 -04:00
lib Bug 9034: Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
modules Bug 10097 - Hide framework selection when importing staged authority records 2013-05-01 07:34:20 -04:00
xslt Bug 9613: items namespace missing in XSLT 2013-04-21 09:38:36 -04:00
columns.def