Skip to content

jsonapi "Calculate_delta_date" issue #30

@siyamalan

Description

@siyamalan

Steps to reproduce

I tried different request parameters "today, yesterday this-week, this-month this-year" to extract analysis request data

I entered below url
"http://website-address/lims/@@API/senaite/v1/search?portal_type=AnalysisRequest&children=yes&recent_modified=today

Current behavior

Getting
{ "_runtime": 0.0014731884002685547, "message": "'module' object has no attribute 'calculate_delta_date'", "success": false }

Expected behavior

I should be getting data based on my request parameters as described in https://plonejsonapiroutes.readthedocs.io/en/latest/api.html.
"recent_modified=today" request parameter is not working

Not sure if I should input "today" under recent_modified or something else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions