-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Get parent tags to display child tag content in graphs #918
Comments
@jywarren What if the hierarchy goes like this |
Hi! No, I think only one level... To do more could lead us to circular and Thanks! On Oct 28, 2016 9:29 AM, "Manish Agarwal" notifications@github.com wrote:
|
Yes, you are right. It might lead to circular queries since it not a strict category-sub-category system. |
Hi, were you interested in taking this issue on? I'd be happy to offer some more input if so. |
@jywarren Yes I am interested to take this up. |
Super! Tell me if you need anything and thanks! On Oct 31, 2016 1:13 AM, "Manish Agarwal" notifications@github.com wrote:
|
Reworking this into a plan to do some auto-tagging! #6367 |
We've just created a tag aliasing system in #871, so that content tagged with
spectrometer
, which has a tag.parent ofspectrometry
, appears on thespectrometry
(parent) tag page:https://publiclab.org/tag/spectrometry
However, the graph shown on that page does not show
spectrometer
-tagged content, just the listing below does. Let's fix it in the graph, so the graph should include all data shown on the graph shown at https://publiclab.org/tag/spectrometer.I believe the graph draws on data from these two methods: https://github.com/publiclab/plots2/blob/master/app/models/drupal_tag.rb#L143-L169
Yes - the call to
tag.weekly_tallies
is here: https://github.com/publiclab/plots2/blob/master/app/views/tag/show.html.erb#L20The text was updated successfully, but these errors were encountered: