-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3.0: wrong date order #861
Comments
I have no idea, how this could happen. Dates are ordered on their timestamp. |
| 194 | 23 | 2020-04-12 10:00:00 | 1586685600 | 1586080800 | |
Did you create the poll with a version before 1.3 and add the new options after the update? |
yes! |
The same happened to me, same NextCloud and Polls app version as @g6094199 . Only difference here: I did not create the poll in an older version, but everything was under version 1.3.0. The obvious workaround fixed it easily, though: update `[prefix]_polls_options` set `order` = `timestamp` where `poll_id`= [poll ID] |
What is going wrong?
Describe the bug
There is a wrong date order
To Reproduce
Steps to reproduce the behavior:
-create a poll
-release the poll to the public
-user vote-
-add another date (duplicated date with different time)-> dates get added in wrong order
Expected behavior
Even when added after the release of the pool additional dates should be ordered in the right way
Screenshots
Information about your polls installation
Polls version?
1.3.0
Fresh installation or update from a prior version (from which one)?
How did you install this version?(Appstore or describe installation)
Information about your Instance of Nextcloud/ownCloud
Nextcloud
Nextcloud/ownCloud version: 18
The text was updated successfully, but these errors were encountered: