Koha/koha-tmpl/intranet-tmpl/prog/en
Nick Clemens dedd059ac0 Bug 12911: batch_id for new labels batches can be asssigned to several batches
Currently batch_id is assigned upon creation of a new batch object.  This patch leaves batch_id as 0 at creation and adds a check when adding items.  If batch is new then batch_id is created then

Test plan:
1 -In one browser window, go to tools->label creator and click the new batch button
2 - Before adding items, open a new browser, and go tools->label creator and click the new batch button
3 - Note that both batches have the same number listed
4 - Add an item to the first batch - you should now see one item in the batch
5 - Add an item to the second batch, you should see two items in the batch
6 - Apply patch and repeat steps 1&2
7 - Note that neither batch lists a batch number
8 - Add an item to the first batch, you should see one item and a batch number
9 - Add an item to the second batch, you should see one item and a new batch number

Patch behaves as expected.
Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-05-14 11:11:03 -03:00
..
css Bug 13364: Fix table id + software error 2015-05-06 11:17:02 -03:00
data
includes Bug 14127: Typo in message preference form - "mesage" 2015-05-06 10:39:54 -03:00
js Bug 11464: Prevent wrong "nothing to save" message on saving syspref 2015-05-07 11:01:16 -03:00
lib/yui Bug 13139 - Move treeview jQuery plugin outside of language-specific directory 2014-10-27 12:36:53 -03:00
modules Bug 12911: batch_id for new labels batches can be asssigned to several batches 2015-05-14 11:11:03 -03:00
xslt Bug 13381 - RDA: 245 field changes in XSLT 2015-04-20 11:49:20 -03:00
columns.def Bug 13142 - Change "mobile phone" label back to "other phone" 2015-02-13 13:52:10 -03:00