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

[Backport] Add default order for admin budget investments list #3151

Merged
merged 3 commits into from
Jan 9, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Jan 2, 2019

References

Objectives

  • Sort investments by supports when no sorting option is selected
  • Fix a bug caused by not defining a default order which caused the spec spec/features/admin/budget_investments_spec.rb:1279 ("Admin budget investments Selecting csv Downloading CSV file") to fail sometimes

When there's no sorting option selected, by default it orders the investment list by supports and, for those with the same number of supports, by ID.
After changing the order for budget investments, the selected investment
didn't appear on the first page anymore, and so it couldn't be clicked
on during the test.
@javierm javierm merged commit 90a6623 into master Jan 9, 2019
@javierm javierm deleted the backport-fix_admin_investments_default_order branch January 9, 2019 14:46
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

Successfully merging this pull request may close these issues.

None yet

5 participants