Frontend: Change photo default order from "newest" to "imported"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
252d1545fb
commit
6af94adc8d
|
@ -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'] : '';
|
||||
|
|
|
@ -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'] : '';
|
||||
|
|
Loading…
Reference in a new issue