Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian c6f3f7a239 1.198.8 2021-08-23 02:38:18 +02:00
DebaucheryLibrarian f0a6e80e5a Reset pagination on search, scroll into view when paginating search. 2021-08-23 02:38:16 +02:00
4 changed files with 9 additions and 4 deletions

View File

@ -58,6 +58,8 @@ async function searchMovies() {
this.movies = movies;
this.totalCount = totalCount;
this.$refs.tiles.scrollIntoView();
}
async function mounted() {
@ -76,7 +78,7 @@ export default {
return {
movies: [],
totalCount: 0,
limit: 30,
limit: 5,
};
},
watch: {

View File

@ -20,7 +20,10 @@
<script>
function search(typing) {
if (!typing || this.eager) {
this.$router.replace({ query: { query: this.query || undefined } });
this.$router.replace({
query: { query: this.query || undefined },
params: { ...this.$route.params, pageNumber: 1 },
});
}
}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.198.7",
"version": "1.198.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.198.7",
"version": "1.198.8",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {