1.1 --- a/imipweb/data.py Fri Oct 20 00:48:38 2017 +0200
1.2 +++ b/imipweb/data.py Fri Oct 20 00:51:26 2017 +0200
1.3 @@ -104,7 +104,8 @@
1.4 end_enabled_name, times_enabled_name,
1.5 origin=None, origin_name=None,
1.6 replacement_name=None, cancelled_name=None,
1.7 - recurrenceid_name=None, tzid=None):
1.8 + recurrenceid_name=None, tzid=None,
1.9 + start_index=0):
1.10
1.11 """
1.12 Return period values from fields found in 'args' prefixed with the given
1.13 @@ -152,7 +153,8 @@
1.14 periods = []
1.15
1.16 for index, (start, end, found_origin, recurrenceid) in \
1.17 - enumerate(map(None, all_starts, all_ends, all_origins, all_recurrenceids)):
1.18 + enumerate(map(None, all_starts, all_ends, all_origins, all_recurrenceids),
1.19 + start_index):
1.20
1.21 # Obtain period settings from separate controls.
1.22