Bug 11955

Summary: Remove spaces in empty indicators after linking an authority to a biblio record.
Product: Koha Reporter: Frédérick Capovilla <fcapovilla>
Component: CatalogingAssignee: Frédérick Capovilla <fcapovilla>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: minor    
Priority: P5 - low CC: bgkriegel, fridolin.somers, gmcharlt, kyle, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Remove spaces in empty indicators when linking an authority to a biblio record.
[SIGNED-OFF] Remove spaces in empty indicators when linking an authority to a biblio record.
Bug 11955: Remove spaces in empty indicators when linking an authority to a biblio record.

Description Frédérick Capovilla 2014-03-18 20:22:16 UTC Comment hidden (obsolete)
Comment 1 Mark Tompsett 2014-03-19 18:06:57 UTC
*** Bug 11697 has been marked as a duplicate of this bug. ***
Comment 2 Bernardo Gonzalez Kriegel 2014-04-13 21:13:28 UTC Comment hidden (obsolete)
Comment 3 Marcel de Rooy 2014-04-17 07:47:18 UTC
Created attachment 27227 [details] [review]
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>
Comment 4 Galen Charlton 2014-04-18 15:52:44 UTC
Pushed to master.  Thanks, Frédérick!
Comment 5 Fridolin Somers 2014-08-06 09:59:50 UTC
Pushed to 3.14.x, will be in 3.14.10
Comment 6 Kyle M Hall 2014-08-13 14:32:35 UTC
Picked for 3.12.15!