Zum Hauptinhalt gehen

Populate a full list of unique attribute values for a field (e.g. Query, Filter, etc)

Kommentare

2 Kommentare

  • Permanently deleted user
    Hi Nathan -

     

    You cannot current configure the list of values to a setting that displays the unique values for each attribute.  However, you can achieve the same functionality indirectly by setting the proper configuration field to a sufficiently high value.

     

    The configuration files include two keys called "numberOfSuggestions".  Both keys are included in the QueryBuilder module.  One is in the "SimpleQueryBuilderView" object, and the other is in the "SimplyFilterBuilderView" object.

     

    Here is a sample configuration for the SimpleQueryBuilderView (in the Deskop.json.js file):

     

    User-added image

     

    As you discussed in your post, the default value for "numberOfSuggestions" is 10.  If you make this value sufficiently large, all values for each attribute will be displayed.

     

    Regards,

     

    Steve  

     

     

     
    0
  • Permanently deleted user
    Thank you.  Worked for my needs!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.