Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Query options passed to .rest() are only parsed when 'queryCols' exists #3

Closed
@gitbrent

Description

@gitbrent

The .rest() method is ignoring options (not including them in REST queries) when queryCols is not included:

CODE:

sprLib.rest({ url:'/sites/dev/_api/web/lists', queryFilter:'ID eq 99' })

RequestURL:
/sites/dev/_api/web/lists?_=1507783353329

CODE:

sprLib.rest({ url:'/sites/dev/_api/web/lists', queryCols:'ID', queryFilter:'ID eq 99' })

RequestURL:
/sites/dev/_api/web/lists?$select=ID&$top=1000&$filter=ID%20eq%2099&_=1507783353336

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions