[Koha-bugs] [Bug 11697] Thesaurus plugin sets indicators with a space

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 6 14:09:27 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11697

--- Comment #1 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 25071
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25071&action=edit
Bug 11697 - Thesaurus plugin sets indicators with a space

When using thesaurus plugin to link a biblio field with an authority, the
indicators of the field of authority are set into indicators of biblio field.
The bug is that when an indicator is not defined, it contains a space ' '. This
space is then set into biblio field. The user must then erase this space before
setting the indicator.

This patch sets indicator as empty string when containing a space.

Test plan :
- Create a new biblio record
- Select a field managed with a thesaurus. For example 700
- Click on thesaurus plugin icon
- Search and choose an authority record with no indicator set on heading field
=> Without patch, the indicators of the biblio field (ie 700) are filled with a
space character
=> With patch, the indicators of the biblio field (ie 700) are empty
- Click on plugin icon
- Search and choose an authority record with indicators set on heading field
=> The indicators are set in biblio field

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list