The code works before til today.
The current month data eg August is load and display on a repeater.
The data query was done by coding
function createRepeaterData():
data = wix.Data.query(‘db’)
… calculate …
return [{
‘_id’: some_id,
‘inOR’: X/X,
‘vacation’: X/X,
…}, {},{},{}.]
$w(‘#repeater’).data =
$w(‘#repeater’).data = data
The first time loading is always fine as you can see that the data on display and $w(‘#repeater’).data.onClickedItem displayed in the box is the same
However, on click of submit button to query eg.September data by using the same function createRepeaterData, the repeater is not display the data properly.
The $w(‘#repeater’).data.onClickedItem is correct (eg. date 2 should display 47/49 but it shows 45/44 instead)
I don’t know what has happened but every repeater on my page is effected
ps. on Editor site everything works perfectly