mjordan / islandora_repository_reports

A Drupal 8 module that provides a collection of graphical reports on various aspects of an Islandora repository.
GNU General Public License v2.0
2 stars 5 forks source link

Error in schema definition #75

Closed mjordan closed 6 months ago

mjordan commented 6 months ago

islandora_repository_reports/blob/main/config/schema/islandora_repository_reports.schema.yml should be:

# Schema for the configuration files of the Islandora Repository Reports module.
islandora_repository_reports.settings:
  type: config_object
  label: 'Islandora Repository Reports admin settings'
  mapping:
    islandora_repository_reports_randomize_pie_chart_colors:
      type: boolean
      label: 'Randomize colors in pie charts'
    islandora_repository_reports_cache_report_data:
      type: boolean
      label: 'Cache report data'
    islandora_repository_reports_bar_chart_color:
      type: string
      label: 'Bar color'

and correspondingly https://raw.githubusercontent.com/mjordan/islandora_repository_reports/main/config/install/islandora_repository_reports.settings.yml should be:

islandora_repository_reports_randomize_pie_chart_colors: TRUE
islandora_repository_reports_pie_or_doughnut: 'pie'
islandora_repository_reports_cache_report_data: FALSE
islandora_repository_reports_bar_chart_color: '#0080ff'
mjordan commented 6 months ago

Resolved with c1034655ca0bfae323ed745a1abaae1f14de4ae0.