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

Fix #10713 Sort plugins in a case-insensitive manner. #15

Merged
merged 2 commits into from
Feb 2, 2016

Conversation

akbargumbira
Copy link
Contributor

Hi @elpaso @pcav @timlinux, this PR will fix http://hub.qgis.org/issues/10713.

At first, I could not replicate the issue. But then I realized that the database in the production server must be in C collation. This PR is not needed if you want to change the collation of the production database.

Thanks

try:
# Average vote is not a field!
_sort_by == 'average_vote' or self.model._meta.get_field(_sort_by)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd stick to the try/except or we'll get ton of errors, this parameter comes straight from the query string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. I'll fix it later today

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elpaso I just addressed your concern about that

elpaso added a commit that referenced this pull request Feb 2, 2016
Fix #10713 Sort plugins in a case-insensitive manner.
@elpaso elpaso merged commit f139336 into qgis:master Feb 2, 2016
@Xpirix Xpirix mentioned this pull request Apr 17, 2024
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

2 participants