gitbrent/SpRestLib

Defect: The list() `baseUrl` option is ignored by the underlying versions query.

gitbrent opened this issue · 0 comments

Desc:

  • The lists() baseUrl option is ignored by the underlying versions query.

Test Case:

  • Run from: /sites/dev/
sprLib.list({ name:'Site Assets', baseUrl:'/sites/dev/sandbox' }).items({
  listCols: {
    id: {dataName: 'Id'},
    file: {dataName:'FileLeafRef', getVersions:true }
  }
})
.then(function(data){ return data; });

Result:

  • baseUrl was ignored and the current site was queried

screen shot 2018-06-28 at 19 03 31