Browsing playlists
-
-
-
-
-
+
+
+
+
+
+
@@ -124,7 +129,7 @@ export default {
}
},
methods: {
- updateQueryString: _.debounce(function() {
+ updateQueryString: function() {
history.pushState(
{},
null,
@@ -136,8 +141,8 @@ export default {
ordering: this.getOrderingAsString()
}).toString()
)
- }, 250),
- fetchData: _.debounce(function() {
+ },
+ fetchData: function() {
var self = this
this.isLoading = true
let url = FETCH_URL
@@ -153,7 +158,7 @@ export default {
self.result = response.data
self.isLoading = false
})
- }, 500),
+ },
selectPage: function(page) {
this.page = page
}
@@ -163,22 +168,6 @@ export default {
this.updateQueryString()
this.fetchData()
},
- paginateBy() {
- this.updateQueryString()
- this.fetchData()
- },
- ordering() {
- this.updateQueryString()
- this.fetchData()
- },
- orderingDirection() {
- this.updateQueryString()
- this.fetchData()
- },
- query() {
- this.updateQueryString()
- this.fetchData()
- }
}
}