Bug 15974: Rancor: Correctly select existing authorized value
authorJesse Weaver <jweaver@bywatersolutions.com>
Wed, 20 Jul 2016 22:51:45 +0000 (16:51 -0600)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 11:31:22 +0000 (13:31 +0200)
commit90dbfef3295130d62adf61b0e9d1dab44a4e0d4f
tree8950d3c7b1bdf1895bfceb6a94c6904908f836ed
parent830242e9052d9609cccbd2b30b8482ea4a9db81f
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc