From 7fd1372e3025bd9886817e1275aac76490820cd9 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Thu, 3 Aug 2023 13:24:51 +0000 Subject: [PATCH] Bug 34587: Convert titles search to keyword search Now that we are harvesting more data types, "titles" search no longer applies and should become a keyword search able to work for any data type Signed-off-by: Jessica Zairo Signed-off-by: Michaela Sieber Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../ERM/UsageStatisticsReportBuilder.vue | 149 +++++++++++------- .../prog/js/vue/fetch/erm-api-client.js | 103 +++++++----- 2 files changed, 149 insertions(+), 103 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportBuilder.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportBuilder.vue index c86fe7df57..f8fbfd66b0 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportBuilder.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportBuilder.vue @@ -35,7 +35,18 @@ description: 'By data provider totals', }, ]" - /> + :required="!query.data_display" + > + + + {{ $__("Required") }}
  • @@ -152,19 +167,23 @@ :reduce="month => month.value" :options="months_data" :disabled=" - query.data_display.includes('yearly') + (query.data_display && + query.data_display.includes( + 'yearly' + )) || + !query.data_display " />
  • - + +

    {{ $__("Select date display method") }}