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

When data templates are filtered by profile, data source list does not get same filter applied #2492

Closed
netniV opened this issue Mar 7, 2019 · 1 comment
Assignees
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@netniV
Copy link
Member

netniV commented Mar 7, 2019

Describe the bug
When viewing the data source templates, the "Data Source using" column lists 37 sources against the "Interface - Traffic". If you click the 37, you see that there are in fact, 931!

Expected behavior
The count of 931 should appear on the data templates listing.

Screenshots
image

image

Additional context
This was first noticed on 1.1.38, but has been replicated under 1.2.2+dev

@netniV
Copy link
Member Author

netniV commented Mar 8, 2019

So on investigation it turns out that neither page is processing the SQL incorrectly. I went in fresh, found the datasource template, it should the correct figure. So, I used the link that i had been previously supplied which demonstrated this issue and found that it had an extra parameter for "profile".

When the profile was being filter on, the template list showed correctly that there were 37 graphs using that profile. However, the data sources page link does not pass the "profile" parameter along so it shows an unfiltered view based on just the template.

@netniV netniV changed the title Count of Data Sources does not match filtered list When data templates are filtered by profile, data source list does not get same filter applied Mar 8, 2019
@netniV netniV added the bug Undesired behaviour label Mar 8, 2019
@netniV netniV added this to the v1.2.3 milestone Mar 8, 2019
@netniV netniV self-assigned this Mar 8, 2019
@netniV netniV closed this as completed in b962402 Mar 8, 2019
@netniV netniV added the resolved A fixed issue label Mar 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

1 participant