dpc-sdp / ripple

Ripple is the frontend framework for Single Digital Presence, delivered using Nuxt and Vue.js
Apache License 2.0
61 stars 37 forks source link

[INTCONTRIB-187] Added check for schema property to show/hide count in exposed filters select lists. #1150

Closed elNico closed 2 years ago

elNico commented 2 years ago

Motivation and Context

JIRA issue: https://salsadigital.atlassian.net/browse/INTCONTRIB-187

Matching BE PR:

https://github.com/dpc-sdp/content-vic-gov-au/pull/1323

Changed

  1. Added a new schema property check to hide counts in filter select lists.
  2. New property is elasticsearch-aggregation-show-count

In schema: https://github.com/salsadigitalauorg/content-collection-component/blob/master/src/validation/schema.json#L298 https://github.com/salsadigitalauorg/content-collection-component/blob/master/schema/schema.js#L544

Can be seen here: https://salsadigitalauorg.github.io/content-collection-component/#/

Screenshots

image

How Has This Been Tested?

Types of changes

Checklist

dylankelly commented 2 years ago

this has been merged as part of https://github.com/dpc-sdp/ripple/pull/1203 and released in https://github.com/dpc-sdp/ripple/pull/1211