Hello All,
i am facing issue while implementing Entity list in liquid. generated liquid as per our requirement and applying entity list to that , referred below for this - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/examples/example-entity-list-table/ now this article does not have filters to add , so referred one more article on adding filters to entity list liquid template - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/filters/entity-list-filters/ this is to show filters in radio button or check box , I modified this to show our filter as drop down list but when clicked on apply filters button , filters are not getting applied to Entity list. below is the html / liquid , i am using to render filters of the entity list
is this correct? am I missing something in this ?
{% assign filters = entitylist | metafilters: params.mf, entityview %} <div id="heading"> {% block Filters %} {% if filters.size > 0 %} <div id="rightheading"> <div id="entitylist-filters"> {% for filter in filters %} <select id="{{ filter.id }}" data-filter-id="{{ filter.id | h }}" class="entitylist-filter-option-group"> {% for option in filter.options %} <option class="entitylist-filter-option" name="{{ filter.id | h }}" value="{{ option.id | h }}" {% if option.selected %} selected="selected" data-selector="true" {% endif %}>{{ option.label | h }} </option> {% endfor %} </select> {% endfor %} </div> <button class="btn btn-default" data-serialized-query="mf" data-target="#entitylist-filters">Apply Filters</button> </div> {% endif %} {% endblock %}
*This post is locked for comments