diff --git a/src/views/admin/components/filter-types/date/FormDate.vue b/src/views/admin/components/filter-types/date/FormDate.vue deleted file mode 100644 index d83882783..000000000 --- a/src/views/admin/components/filter-types/date/FormDate.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/admin/components/filter-types/date/class-tainacan-date.php b/src/views/admin/components/filter-types/date/class-tainacan-date.php index 6127f25cd..7c76022d6 100644 --- a/src/views/admin/components/filter-types/date/class-tainacan-date.php +++ b/src/views/admin/components/filter-types/date/class-tainacan-date.php @@ -13,11 +13,7 @@ class Date extends Filter_Type { $this->set_name( __('Date', 'tainacan') ); $this->set_supported_types(['date']); $this->set_component('tainacan-filter-date'); - // $this->set_form_component('tainacan-filter-form-date'); $this->set_use_max_options(false); - // $this->set_default_options([ - // 'type' => 'day' - // ]); $this->set_preview_template('
@@ -61,18 +57,6 @@ class Date extends Filter_Type { '); } - // /** - // * @inheritdoc - // */ - // public function get_form_labels(){ - // return [ - // 'type' => [ - // 'title' => __( 'Type', 'tainacan' ), - // 'description' => __( 'The type of the date picker, may be for day, month or year.', 'tainacan' ), - // ] - // ]; - // } - } class Date_Helper { diff --git a/src/views/admin/js/admin-main.js b/src/views/admin/js/admin-main.js index b6191093d..20259dd09 100644 --- a/src/views/admin/js/admin-main.js +++ b/src/views/admin/js/admin-main.js @@ -62,7 +62,6 @@ import TermEditionForm from '../components/edition/term-edition-form.vue'; import FormFilterNumeric from '../components/filter-types/numeric/FormNumeric.vue'; import FormFilterNumericInterval from '../components/filter-types/numeric-interval/FormNumericInterval.vue'; import FormFilterNumericListInterval from '../components/filter-types/numeric-list-interval/FormNumericListInterval.vue'; -// import FormDate from '../../../classes/filter-types/date/FormDate.vue'; import TainacanFormItem from '../components/metadata-types/tainacan-form-item.vue'; @@ -252,7 +251,6 @@ export default (element) => { app.component('tainacan-filter-form-numeric', FormFilterNumeric); app.component('tainacan-filter-form-numeric-interval', FormFilterNumericInterval); app.component('tainacan-filter-form-numeric-list-interval', FormFilterNumericListInterval); - // app.component('tainacan-filter-form-date', FormDate); // Metadadum parent containers app.component('tainacan-form-item', TainacanFormItem);