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 datetime filter #5493

Merged
merged 1 commit into from
Feb 6, 2020
Merged

Fix datetime filter #5493

merged 1 commit into from
Feb 6, 2020

Conversation

adube
Copy link
Contributor

@adube adube commented Feb 5, 2020

In ngeo, the list of attributes of a data source are no longer fetched using a WFS DescribeFeatureType request. Instead, we use the attributes that are in the themes.

The attribute types in there are camel cased, like this: dateTime. The Attribute format that was used to create the attributes from the describe response was used to create the attributes, and converted all types as lowercase. So, the type in an attribute is "datetime", not "dateTime".

This patch fixes the issue when creating the attributes from the themes.

@adube adube requested review from sbrunner and fredj February 5, 2020 18:58
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@sbrunner sbrunner left a comment

Choose a reason for hiding this comment

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

Thanks :-)

@adube adube merged commit 0d956e1 into master Feb 6, 2020
@adube adube deleted the gsgmf-1207-datetime-filter-fix branch February 6, 2020 13:24
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.

2 participants