Merge branch 'broken-pagination-library' into 'develop'
Fixed broken pagination in uploads table See merge request funkwhale/funkwhale!1011
This commit is contained in:
commit
e0d86b2401
|
@ -67,6 +67,16 @@ export default {
|
|||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
},
|
||||
"content.libraries.files": {
|
||||
paginateBy: 50,
|
||||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
},
|
||||
"content.libraries.detail": {
|
||||
paginateBy: 50,
|
||||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
},
|
||||
},
|
||||
serviceWorker: {
|
||||
refreshing: false,
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
<div>
|
||||
<pagination
|
||||
v-if="result && result.count > paginateBy"
|
||||
@page-changed="selectPage"
|
||||
@page-changed="page = $event; fetchData()"
|
||||
:compact="true"
|
||||
:current="page"
|
||||
:paginate-by="paginateBy"
|
||||
|
@ -231,13 +231,10 @@ export default {
|
|||
isLoading: false,
|
||||
result: null,
|
||||
page: 1,
|
||||
paginateBy: 25,
|
||||
search: {
|
||||
query: this.defaultQuery,
|
||||
tokens: parseTokens(normalizeQuery(this.defaultQuery))
|
||||
},
|
||||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
orderingOptions: [
|
||||
["creation_date", "creation_date"],
|
||||
["title", "track_title"],
|
||||
|
|
Loading…
Reference in New Issue