Label updates aiming accessibility and checks metadatum_id type on numeric filter while we can't solve this issue.
This commit is contained in:
parent
5cc89c4cc6
commit
3ca108957f
|
@ -267,7 +267,7 @@
|
|||
<!-- Change OrderBy Select and Order Button-->
|
||||
<div class="search-control-item">
|
||||
<b-field>
|
||||
<label class="label">{{ $i18n.get('label_sort') }}</label>
|
||||
<label class="label">{{ $i18n.get('label_sorting_direction') }}</label>
|
||||
<b-dropdown
|
||||
:mobile-modal="true"
|
||||
@input="onChangeOrder()"
|
||||
|
|
|
@ -213,6 +213,7 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'label_core_title' => __( 'Core Title', 'tainacan' ),
|
||||
'label_core_description' => __( 'Core Description', 'tainacan' ),
|
||||
'label_sorting' => __( 'Sorting', 'tainacan' ),
|
||||
'label_sorting_direction' => __( 'Sorting direction', 'tainacan' ),
|
||||
'label_sort' => __( 'Sort', 'tainacan' ),
|
||||
'label_activity_date' => __( 'Activity date', 'tainacan' ),
|
||||
'label_activity_title' => __( 'Activity', 'tainacan' ),
|
||||
|
@ -405,6 +406,7 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'label_wordpress_admin_page' => __( 'WordPress Admin Page', 'tainacan' ),
|
||||
'label_view_all_%s_collections' => __( 'View all %s collections', 'tainacan' ),
|
||||
'label_comparator' => __( 'Comparator', 'tainacan' ),
|
||||
'label_table_of_items' => __( 'Table of Items', 'tainacan' ),
|
||||
|
||||
// Instructions. More complex sentences to guide user and placeholders
|
||||
'instruction_delete_selected_collections' => __( 'Delete selected collections', 'tainacan' ),
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
mixins: [ wpAjax ],
|
||||
created() {
|
||||
this.collection = ( this.collection_id ) ? this.collection_id : this.filter.collection_id;
|
||||
this.metadatum = ( this.metadatum_id ) ? this.metadatum_id : this.filter.metadatum.metadatum_id;
|
||||
this.metadatum = ( this.metadatum_id ) ? this.metadatum_id : (typeof this.filter.metadatum.metadatum_id == 'object' ? this.filter.metadatum.metadatum_id.metadatum_id : this.filter.metadatum.metadatum_id);
|
||||
|
||||
let in_route = '/collection/' + this.collection + '/metadata/' + this.metadatum;
|
||||
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
<!-- SKELETON LOADING -->
|
||||
<table
|
||||
v-if="isLoading"
|
||||
class="tainacan-table tainacan-table-skeleton">
|
||||
:summary="$i18n.get('label_table_of_items')"
|
||||
class="tainacan-table tainacan-table-skeleton"
|
||||
tabindex="0">
|
||||
<thead>
|
||||
<th
|
||||
v-for="(column, index) in displayedMetadata"
|
||||
|
|
Loading…
Reference in New Issue