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

Int fields in indexes are not working #59

Open
espenmn opened this issue May 24, 2019 · 1 comment
Open

Int fields in indexes are not working #59

espenmn opened this issue May 24, 2019 · 1 comment
Labels

Comments

@espenmn
Copy link
Member

espenmn commented May 24, 2019

When adding a field (int) for year, the filters does not work (it filters away everything)
When using a string field (schema.TextLine) it works

jensens added a commit that referenced this issue Mar 14, 2022
@cesku
Copy link

cesku commented Nov 6, 2022

Some issue for me; the solution I found was to register an adapter for IGroupByModifier like this

@implementer(IGroupByModifier)
@adapter(IGroupByCriteria)
def groupby_modifier(groupby):
    groupby._groupby['my_field_index_with_integers']['index_modifier'] = int

@jensens jensens added the bug label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants