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

Column header names beginning with # don't sort and can't be exported to CSV #461

Open
sanjuroj opened this issue Mar 29, 2018 · 0 comments

Comments

@sanjuroj
Copy link
Collaborator

Current behavior

If a column name begins with a "#" character, trying to sort the table based on that column throws an Ajax error ("OperationFailure: bad sort specification" in the logs). Also, trying to export the table to CSV throws "ValueError: end is out of bounds"

Expected behavior

Columns should sort and export

Steps to reproduce the behavior

  1. Add a "#" to the front of a column name
  2. Try to sort on that column
  3. Try to export to CSV

Additional details

I tried "(" as the first letter, and that didn't cause any problems. Using "&" caused the same problems as "#".

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