]> git.koha-community.org Git - koha.git/commit
Bug 10475 - Item form in acquisition not hiding subfields properly
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Jun 2013 16:46:04 +0000 (12:46 -0400)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sun, 4 Aug 2013 19:14:31 +0000 (16:14 -0300)
commitd4a14ce46090a1fd309b3bd1fef52c80c62dbe90
tree4e11b8ec99163735846d04c12651abda100728e0
parentd930e973119e28de9ce15b2633c73cbcccc44e76
Bug 10475 - Item form in acquisition not hiding subfields properly

Subfields hidden in your ACQ framework leave a gap where they used to
be in the item entry form when adding an item to an order. This patch
makes the same change made by 7116 to services/itemrecorddisplay.tt to
correct the problem.

To test:

- Edit your ACQ framework and set some item subfields to hidden in the
  editor.
- Set your  AcqCreateItem system preference to "when placing an order."
- Add a title to an existing basket from an existing record.

The item entry form should display correctly with your hidden subfields
hidden. No whitespace should be left behind where the subfields were
hidden.

Also changed: Invalid "size" attributes on hidden form fields in
neworderempty.tt, stray </li>.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, passes all tests and QA script.
Thx Owen!

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 5e1f8caf609aa58eabf6f353d12ec25e0e8e23a0)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit db3ae2c96dade62540cf66f066fc5faca73fa69b)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit db3ae2c96dade62540cf66f066fc5faca73fa69b)
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/en/modules/services/itemrecorddisplay.tt