kopia lustrzana https://github.com/backface/turtlestitch
fixes bug when fetching collection list from community site
rodzic
8d8ad054d0
commit
a9d2763482
14
src/cloud.js
14
src/cloud.js
|
|
@ -980,11 +980,15 @@ Cloud.prototype.getUserCollections = function (
|
|||
encodeURIComponent(collectionUsername) :
|
||||
'%username') +
|
||||
'/collections?' +
|
||||
this.encodeDict({
|
||||
page: page || '',
|
||||
pagesize: page ? pageSize || 16 : '',
|
||||
matchtext: searchTerm ? encodeURIComponent(searchTerm) : ''
|
||||
}),
|
||||
this.encodeDict(
|
||||
page > 0 ?
|
||||
{
|
||||
page: page
|
||||
pagesize: pageSize || 16,
|
||||
matchtext:
|
||||
searchTerm ? encodeURIComponent(searchTerm) : ''
|
||||
} : {}
|
||||
),
|
||||
onSuccess,
|
||||
onError,
|
||||
'Could not fetch collections'
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue