Frontend: Show recently imported first in sort order dropdown

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2019-12-16 13:07:32 +01:00
parent 3cfe376fb1
commit 12294ef703
4 changed files with 294 additions and 284 deletions

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.6",
"@babel/register": "^7.7.4",
"@fortawesome/fontawesome-free": "^5.11.2",
"@fortawesome/fontawesome-free": "^5.12.0",
"@types/leaflet": "^1.5.6",
"acorn": "^6.4.0",
"ajv": "^6.10.2",
@ -40,13 +40,13 @@
"chrome-finder": "^1.0.6",
"clean-webpack-plugin": "^3.0.0",
"connect-history-api-fallback": "^1.3.0",
"copy-webpack-plugin": "^5.1.0",
"core-js": "^3.4.8",
"copy-webpack-plugin": "^5.1.1",
"core-js": "^3.5.0",
"cross-env": "^5.2.1",
"crypto-random-string": "^3.0.1",
"css-loader": "^2.1.1",
"cssnano": "^4.1.10",
"easygettext": "^2.8.0",
"easygettext": "^2.9.0",
"eslint": "^6.7.2",
"eslint-config-standard": "^13.0.1",
"eslint-formatter-pretty": "^2.1.1",
@ -100,7 +100,7 @@
"tar": "^4.4.13",
"truncate": "^2.1.0",
"url-loader": "^1.1.2",
"vue": "^2.6.10",
"vue": "^2.6.11",
"vue-fullscreen": "^2.1.5",
"vue-gettext": "^2.1.6",
"vue-infinite-scroll": "^2.0.2",
@ -108,12 +108,12 @@
"vue-luxon": "^0.7.0",
"vue-router": "^3.1.3",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"vue-template-compiler": "^2.6.11",
"vue2-filters": "^0.6.1",
"vue2-leaflet": "^2.2.1",
"vue2-leaflet": "^2.3.0",
"vuelidate": "^0.7.4",
"vuetify": "^1.5.21",
"webpack": "^4.41.2",
"webpack": "^4.41.3",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-hot-middleware": "^2.25.0",

View File

@ -122,9 +122,9 @@
'countries': countries,
'cameras': cameras,
'sorting': [
{value: 'imported', text: this.$gettext('Recently imported')},
{value: 'newest', text: this.$gettext('Newest first')},
{value: 'oldest', text: this.$gettext('Oldest first')},
{value: 'imported', text: this.$gettext('Recently imported')},
],
},
labels: {

View File

@ -172,9 +172,9 @@
'countries': countries,
'cameras': cameras,
'sorting': [
{value: 'imported', text: this.$gettext('Recently imported')},
{value: 'newest', text: this.$gettext('Newest first')},
{value: 'oldest', text: this.$gettext('Oldest first')},
{value: 'imported', text: this.$gettext('Recently imported')},
],
},
showAfterPicker: false,