When a sort button (i have only tried the dropdown menu version) is set with data-type="datetime" and data-selected="true", this does not select the sort on jp list init.
I have set the data-datetime-format and the sorting workings just as intended if the dropdown menu item is selected by the user. It is simply not selected as the default when the page is first loaded.
When a sort button (i have only tried the dropdown menu version) is set with data-type="datetime" and data-selected="true", this does not select the sort on jp list init.
I have set the data-datetime-format and the sorting workings just as intended if the dropdown menu item is selected by the user. It is simply not selected as the default when the page is first loaded.
` <div class="dropdown mr-3" data-jplist-control="dropdown-sort" data-opened-class="show" data-group="articles" data-name="sort">
`
Test data `