Bug 15974: Rancor: Correctly select existing authorized value
authorJesse Weaver <jweaver@bywatersolutions.com>
Wed, 20 Jul 2016 22:51:45 +0000 (16:51 -0600)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 11:39:45 +0000 (13:39 +0200)
commitbc6d38d258706189c38979501a780f12266430b9
tree44da0475a7cf0cadf9b9fe58843fbad13084db29
parenta992c6275da7caf40d54af39edd50f13e3b3a9cb
Bug 15974: Rancor: Correctly select existing authorized value

Test plan:
  1) Open up a record in Rancor with an itemtype besides the first in
     the list ('BK' in the sample itemtypes).
  2) It will show "Book" instead of the correct itemtype.
  3) Apply patch, reload the page.
  4) The correct itemtype should now show.

NOTE: The scope is only 942$c. This corrects that.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit b01aa596abb91f8679c64e89197fbb2b3d9309cc)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 90dbfef3295130d62adf61b0e9d1dab44a4e0d4f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc