Skip to content
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

Price and Rating are in the wrong order in the view #14

Open
itailulu opened this issue Jul 16, 2016 · 0 comments
Open

Price and Rating are in the wrong order in the view #14

itailulu opened this issue Jul 16, 2016 · 0 comments

Comments

@itailulu
Copy link

If you look at views/restaurants.html you'll see the table headers order is Name-Price-Rating, but the actual columns (td's) are ordered name-rating-price.
This causes the sorting to seem faulty.
An easy fix would be to just put the headers on the right order:

<tr>
    <th><a href ng-click="sortBy('name')">Name {{sortIconFor('name')}}</a></th>
    <th><a href ng-click="sortBy('rating')">Rating {{sortIconFor('rating')}}</a></th>
    <th><a href ng-click="sortBy('price')">Price {{sortIconFor('price')}}</a></th>
</tr>
lldh added a commit to lldh/foodme that referenced this issue Oct 29, 2018
Proposed fix for issue IgorMinar#14 - Price and Rating are in the wrong order in the view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant