Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Wrong order of meals in project view #143

Open
ChristinaSi opened this issue Jan 11, 2021 · 1 comment
Open

Wrong order of meals in project view #143

ChristinaSi opened this issue Jan 11, 2021 · 1 comment
Assignees
Labels

Comments

@ChristinaSi
Copy link
Collaborator

The meals in the view Project -> Show project are shown in the wrong order (the other way around than the order in which they were created) on Coocook.org.
This occurs at existing projects as well as at new projects.

@dboehmer
Copy link
Owner

Confirmed. Display order of dishes is equal in project overview, project editor (“meals & dishes”) and print view.

New created dishes are prepended at the top of a meal. Strange, I think the SQL doesn’t contain any ORDER keyword but there’s probably a loop or array operation that reverses the order.

The real solution would be: Dishes should actually have an explicit order/position column and the UI should allow to reorder dishes at will.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants