Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 14018: Ordering from suggestion shows 'copy. year:2014' 2015-05-06 15:26:28 -03:00
admin Bug 14042: Get rid of the home made pagination in the auth type admin 2015-05-07 11:11:21 -03:00
authorities Bug 10985: [UNIMARC] Fix authority summary 2015-04-22 11:54:36 -03:00
basket Bug 12253: Fix MARCUrls in basket 2015-05-06 13:51:32 -03:00
batch
catalogue Bug 13773: add stock number to details and items display 2015-05-04 12:29:25 -03:00
cataloguing Bug 13364: (QA followup) <body> missing id and class 2015-05-06 14:19:41 -03:00
circ Bug 14011: Make the jQuery selector explicit 2015-05-04 11:43:59 -03:00
common Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
course_reserves Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
errors Bug 10285: Remove links from the error pages 2015-04-20 09:57:54 -03:00
help Bug 14125: Fix template problems on csv profiles help page 2015-05-07 10:57:38 -03:00
installer Bug 13496: make auth.tt use a template plugin to get the Koha version 2015-01-04 11:24:22 -03:00
labels Bug 12911: batch_id for new labels batches can be asssigned to several batches 2015-05-14 11:11:03 -03:00
members Bug 14044: Don't escape html characters 2015-05-06 10:29:08 -03:00
offline_circ Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patron_lists Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patroncards Bug 13891: DataTables server-side processing - patron cards 2015-04-13 10:55:24 -03:00
plugins Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
reports Bug 4281: Reports dictionary supports only 1 field selection 2015-05-07 11:03:20 -03:00
reserve Bug 13887: Display the due date as a due date + sort on info 2015-05-04 11:24:07 -03:00
reviews
rotating_collections Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
serials Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
services Bug 12673: Remove CGI::scrolling_list from C4::Items.pm 2014-08-03 17:21:08 -03:00
sms
suggestion Bug 12135: Fix suggestions table width 2015-05-06 14:28:56 -03:00
tags
test Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
tools Bug 14056: Small punctuation error in description for deleting a holiday 2015-05-06 10:40:15 -03:00
virtualshelves Bug 13421: (QA followup) Change creation_time to created_on 2015-05-04 12:31:59 -03:00
about.tt Bug 7143 Adding new developers and releases to the history 2015-04-16 14:16:44 -03:00
auth.tt Bug 13507: Add intranet support for CAS authentication 2015-04-08 12:04:26 -03:00
intranet-main.tt Bug 8007: Discharge - Glue 2015-04-30 12:33:53 -03:00