mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Fixes incorrect results of list view when refreshing the page by (#813)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
3c0579d48d
commit
0f3586a011
@ -505,6 +505,12 @@ export default {
|
|||||||
params.isofilter = 'all'
|
params.isofilter = 'all'
|
||||||
}
|
}
|
||||||
if (Object.keys(this.$route.query).length > 0) {
|
if (Object.keys(this.$route.query).length > 0) {
|
||||||
|
if ('page' in this.$route.query) {
|
||||||
|
this.page = Number(this.$route.query.page)
|
||||||
|
}
|
||||||
|
if ('pagesize' in this.$route.query) {
|
||||||
|
this.pagesize = Number(this.$route.query.pagesize)
|
||||||
|
}
|
||||||
Object.assign(params, this.$route.query)
|
Object.assign(params, this.$route.query)
|
||||||
}
|
}
|
||||||
delete params.q
|
delete params.q
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user