You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change /getanswers and /getagreement to filter based on createTime, not id
Description: this is a fix-up following my other issue #157 when we implemented changing answers. Currently /getanswers and /getagreement are set up to filter based on id, not the creation time. For each statement, we want to only display the user's latest answer for that statement. Since id increments each time a new statement is added, it does currently work, but it's better practice and more accurate to filter based on createTime
Also, found a bug where you can't change both I_agree and others_agree at once; only one of them updates
The text was updated successfully, but these errors were encountered:
acao22
changed the title
Change /getanswers to filter based on createTime, not id
Change /getanswers to filter based on createTime and also fix multiple toggle bug
Jul 19, 2024
Change
/getanswers
and/getagreement
to filter based oncreateTime
, notid
Description: this is a fix-up following my other issue #157 when we implemented changing answers. Currently
/getanswers
and/getagreement
are set up to filter based onid
, not the creation time. For each statement, we want to only display the user's latest answer for that statement. Sinceid
increments each time a new statement is added, it does currently work, but it's better practice and more accurate to filter based oncreateTime
Also, found a bug where you can't change both
I_agree
andothers_agree
at once; only one of them updatesThe text was updated successfully, but these errors were encountered: