Adds sorting options to collection list.
This commit is contained in:
parent
edc84e6ad5
commit
3fdc4c467f
|
@ -115,9 +115,9 @@ UserPrefsPlugin.install = function (Vue, options = {}) {
|
|||
'admin_view_mode': 'cards',
|
||||
'fetch_only': 'thumbnail,creation_date,author_name',
|
||||
'fetch_only_meta': '',
|
||||
'taxonomies_order': 'asc',
|
||||
'taxonomies_order': 'desc',
|
||||
'taxonomies_order_by': 'date',
|
||||
'collections_order': 'asc',
|
||||
'collections_order': 'desc',
|
||||
'collections_order_by': 'date'
|
||||
},
|
||||
init() {
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Sorting options ---- -->
|
||||
<!-- <b-field class="header-item">
|
||||
<b-field class="header-item">
|
||||
<b-select
|
||||
class="sorting-select"
|
||||
:disabled="collections.length <= 0"
|
||||
|
@ -83,7 +83,7 @@
|
|||
<i class="tainacan-icon tainacan-icon-sortdescending tainacan-icon-20px"/>
|
||||
</span>
|
||||
</button>
|
||||
</b-field> -->
|
||||
</b-field>
|
||||
</div>
|
||||
|
||||
<div class="above-subheader">
|
||||
|
@ -236,7 +236,7 @@ export default {
|
|||
collectionsPerPage: 12,
|
||||
isLoadingMetadatumMappers: true,
|
||||
status: '',
|
||||
order: 'asc',
|
||||
order: 'desc',
|
||||
ordeBy: 'date',
|
||||
sortingOptions: [
|
||||
{ label: this.$i18n.get('label_title'), value: 'title' },
|
||||
|
|
Loading…
Reference in New Issue