Frontend: Change photo default order from "newest" to "imported"

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2019-12-16 01:12:05 +01:00
parent 252d1545fb
commit 6af94adc8d
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@
const uuid = this.$route.params.uuid;
const query = this.$route.query;
const routeName = this.$route.name;
const order = query['order'] ? query['order'] : 'newest';
const order = query['order'] ? query['order'] : 'imported';
const camera = query['camera'] ? parseInt(query['camera']) : 0;
const q = query['q'] ? query['q'] : '';
const country = query['country'] ? query['country'] : '';

View file

@ -61,7 +61,7 @@
data() {
const query = this.$route.query;
const routeName = this.$route.name;
const order = query['order'] ? query['order'] : 'newest';
const order = query['order'] ? query['order'] : 'imported';
const camera = query['camera'] ? parseInt(query['camera']) : 0;
const q = query['q'] ? query['q'] : '';
const before = query['before'] ? query['before'] : '';