]> git.koha-community.org Git - koha.git/commit
Bug 11955: Remove spaces in empty indicators when linking an authority to a biblio...
authorFrédérick <frederick.capovilla@libeo.com>
Tue, 18 Mar 2014 20:11:44 +0000 (16:11 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 14:32:31 +0000 (10:32 -0400)
commita556116fe908dab21058d3296939ded8a7e7c5ff
tree99dcf0e996d40f45d5cf90e5feb079fbc3682f8d
parent8a975f8d30b22e63ba8d72421d0e69c29340f847
Bug 11955: Remove spaces in empty indicators when linking an authority to a biblio record.

This patch removes spaces in indicators which are imported when we link an
authority to a biblio record. The spaces made the indicators harder to edit
after the linking, because we had to delete the superfluous space character
before a new value could be entered.

To test:
1. Open some authority on editor, save with empty indicators.
   They are saved as ind1=" " ind2=" " on auth_header tables, with spaces
2. Edit some record, link some tag with previous auth,
   indicators now have a space on it (or ind1 at last)
3. Apply the patch
4. repeat 2, space is gone

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described. No koha-qa errors.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit afc9549a6f58ddf36cf6d9a5399239385c377c90)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit cb013de95c4ddd0be85c9bd5b83ef2345b850213)
authorities/blinddetail-biblio-search.pl