]> git.koha-community.org Git - koha.git/commit
Bug 9497 - Make it easier to add new encodings for Z39.50 servers and add ISO 8859-1
authorMagnus Enger <magnus@enger.priv.no>
Sun, 27 Jan 2013 13:00:45 +0000 (14:00 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 1 Feb 2013 08:53:06 +0000 (21:53 +1300)
commit8c7c8ec75a1b63baa85055efdbc90e0ad7472e77
treea210717086de4cc092555a026b45576713911e33
parentfa106c3eb12566528657438f271e160995387d1b
Bug 9497 - Make it easier to add new encodings for Z39.50 servers and add ISO 8859-1

This patch does three things:
- Makes admin/z3950servers.pl create one variable for encoding,
  not one variable for each encoding
- Makes the template create encoding options from a list
- Adds ISO 8859-1 to the list of available encodings
See the bug for a lengthier description

To test:
- Apply the patch
- Edit one Z39.50 server several times, choosing each available
  encoding in turn
- Check that for each encoding, the correct encoding is shown both in
  the list of Z39.50 servers and in the dropdown on the edit screen

Comment: Works as described, no errors.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
admin/z3950servers.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt