diff --git a/frontend/src/pages/album/photos.vue b/frontend/src/pages/album/photos.vue index 4dfa5eabe..3ef301c77 100644 --- a/frontend/src/pages/album/photos.vue +++ b/frontend/src/pages/album/photos.vue @@ -240,7 +240,10 @@ Photo.search(params).then(response => { this.results = Photo.mergeResponse(this.results, response); - this.viewer.results = []; + + if(offset === 0) { + this.viewer.results = []; + } this.scrollDisabled = (response.count < count); diff --git a/frontend/src/pages/photos.vue b/frontend/src/pages/photos.vue index 389ebb357..eb67baa46 100644 --- a/frontend/src/pages/photos.vue +++ b/frontend/src/pages/photos.vue @@ -275,7 +275,10 @@ Photo.search(params).then(response => { this.results = Photo.mergeResponse(this.results, response); - this.viewer.results = []; + + if(offset === 0) { + this.viewer.results = []; + } this.scrollDisabled = (response.count < count); diff --git a/frontend/src/share/photos.vue b/frontend/src/share/photos.vue index 6c4072b55..66520ffa0 100644 --- a/frontend/src/share/photos.vue +++ b/frontend/src/share/photos.vue @@ -283,7 +283,10 @@ Photo.search(params).then(response => { this.results = Photo.mergeResponse(this.results, response); - this.viewer.results = []; + + if(offset === 0) { + this.viewer.results = []; + } this.scrollDisabled = (response.count < count);