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
Is there a reason this line is using <= and not just <
In the off chance that something in the database has a position value that is equal to another item in the list, it will show up in the list of 'higher_items', won't it?
The text was updated successfully, but these errors were encountered:
Hi @james-logan, This was added with the extra constraint on the next line that excludes the current record. The assumption is that there may be other records with the same position value, and we assume that those records are higher than this record.
This concept is utilised in the move up/down logic too from memory.
Hey, this isn't really an issue, just a question.
Is there a reason this line is using
<=
and not just<
In the off chance that something in the database has a position value that is equal to another item in the list, it will show up in the list of 'higher_items', won't it?
The text was updated successfully, but these errors were encountered: