Skip to content

Commit 15a2c49

Browse files
authored
Merge pull request #63 from openagri-eu/main
Add date filters on generic API (#20)
2 parents 5c1773b + 65020cb commit 15a2c49

3 files changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ Response is uuid of generated PDF file.
140140
- **Type**: `str`
141141
- **Description**: Optional parcel filter (When operation id not used).
142142

143+
![img.png](img.png)
143144

144145
### data
145146
- **Type**: `UploadFile`

app/utils/farm_calendar_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ def process_farm_calendar_data(
482482
if operations:
483483
for o in operations:
484484
id = o["@id"].split(":")[3]
485+
decode_dates_filters(params, from_date, to_date)
485486
get_farm_operation_data(
486487
id=id,
487488
materials=materials,

img.png

11.8 KB
Loading

0 commit comments

Comments
 (0)