Skip to content

Apparent gap in get.shifts when include_open + unpublished. #16

Description

@cjaoude

Hi, so when requesting Open Shifts and Unpublished shifts, the api response is missing Open+Unpublished shifts.

// get.shifts...doesn't return open-unpublished shifts
'include_open' => true,
'unpublished' => true,

instead it works correctly with all_open + unpublished.

'include_allopen' => true,
'unpublished' => true,

This is not readily apparent. The documentation should be improved, but also include_open should included unpublished shifts, since we may not want the 'conflict' shifts that come with include_allopen.

just fyi, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions