Wappler Version : 5.6.1
Operating System : mac
Server Model: node
Database Type:
Hosting Type:
Expected behavior
Selecting columns inside a repeat (or masonry) should remain consistent when applying the .sort() formatter (or other formatters)
Actual behavior
The data bindings change
How to reproduce
Given this repeat expression:
dmx-bind:repeat="get_projects.data.projects"
I see all the data bindings:
However, when formatters are added:
dmx-bind:repeat="get_projects.data.projects.sort(projects_sort.value=='created_at'?'created_at':projects_sort.value=='recent_activity'?'recent_activity':'project_view_count').reverse()"
Most of the bindings are lost: