]> git.koha-community.org Git - koha.git/commit
Bug 12176: Fix for missing field_value in select
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sat, 23 May 2015 12:01:57 +0000 (14:01 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Wed, 3 Jun 2015 07:36:32 +0000 (19:36 +1200)
commit21d4ea5ccc6313fe59ef535555da8874c34ffd5a
tree42effea303c95c93b84b07fb3b8bf6c9f9728aed
parentadf816c8c902940597b65e462cae3a99075509c1
Bug 12176: Fix for missing field_value in select

As Jonathan Druart discovered, we were still missing an important attribute
in the selects. Var mv.name was not filled, so the name was empty with nice
side-effects :)
While fixing this, it was also possible to delete some unused vars that Bernardo
already mentioned before: $attributes and $attributes_no_value.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
For me the simptom was different, when saving an edited item
fields were mangled beyond repear :(
No alert for empty mandatory fields.

But this last patch fix the problem.
Tested add/edit items
Cleaner pl file :)
No errors

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e021b512e34d0521803fa5f32dd67f1532ddb73d)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt