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)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Apr 2014 15:50:02 +0000 (15:50 +0000)
commitafc9549a6f58ddf36cf6d9a5399239385c377c90
treefe4bc118e96af4fd0fcead206bec1fa310cc8b37
parent064d5478d31b05442e19b7d57f0af94d3422731e
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>
authorities/blinddetail-biblio-search.pl