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

Category widget displays erroneous categories #24

Closed
mishari opened this issue Mar 10, 2015 · 5 comments
Closed

Category widget displays erroneous categories #24

mishari opened this issue Mar 10, 2015 · 5 comments
Assignees
Labels

Comments

@mishari
Copy link

mishari commented Mar 10, 2015

Issue by DBishton
Thursday Mar 05, 2015 at 13:51 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT
Originally opened as oeco#43


Category widget displays more categories than are relevant to the given page. This feature appeared to be working correctly, but after some testing now displays as in screenshot 1. Our understanding is that it should display only selected category for the page -- the relevant categories for the briefing in the example are shown in screenshot 2. Please clarify if this understanding is incorrect.
image
image

@mishari mishari added the p1 label Mar 11, 2015
@mishari mishari self-assigned this Mar 16, 2015
@mishari
Copy link
Author

mishari commented Mar 19, 2015

@DBishton I cannot reproduce this in my development environment. Perhaps we can deploy the latest version and see what happens?

@Huyeng
Copy link
Collaborator

Huyeng commented Apr 7, 2015

I view the briefing page, I think it has a list of the category twice, one is on the top and one is on the right sidebar. @DBishton, could you explain what are the different?

screenshot_7

@DBishton
Copy link

DBishton commented Apr 7, 2015

Hi @Huyeng,

I believe the categories displayed at the top of the page are the
categories that have been selected for the page. In this case, an editor
would have checked "Electricity", "Energy", "Energy policy and
Administration" for this briefing.

The bar on the should always show:

  • Categories which have no parents (top level categories)
  • An 'expanded' hierarchical view of all categories in the current top
    level category (e.g. every category under "Energy" in the example above)
  • Highlighting of the categories applied to the page (e.g. "Electricity",
    "Energy", "Energy policy and Administration" in the example above)

Thanks!

On Tue, Apr 7, 2015 at 5:01 PM, Huyeng [email protected] wrote:

I view the briefing page, I think it has a list of the category twice, one
is on the top and one is on the right sidebar. @DBishton
https://github.com/DBishton, could you explain what are the different?

[image: screenshot_7]
https://cloud.githubusercontent.com/assets/6613530/7020947/301b039c-dd47-11e4-8076-e93dba4e51b9.jpg


Reply to this email directly or view it on GitHub
#24 (comment)
.

Daniel Bishtonmobile: +855968153317 | Twitter:
http://twitter.com/DanielBishton http://twitter.com/DanielBishton |
LinkedIn: http://linkd.in/Uf2YKt http://linkd.in/Uf2YKt

@mishari
Copy link
Author

mishari commented Apr 7, 2015

This is a problem with the configuration itself.
Before:
widgets_ open_development_mekong _wordpress
After:
widgets_ open_development_mekong _wordpress
hydropower___open_development_mekong

@mishari mishari closed this as completed Apr 7, 2015
@DBishton DBishton reopened this Apr 8, 2015
@DBishton
Copy link

DBishton commented Apr 8, 2015

Thanks @mishari,

That may explain some of the inconsistencies we were witnessing previously. However, the "OD Taxonomy" widget does not perform the functions we need it to -- please see my comment to Huy Eng above for the intended behaviour.

mishari added a commit that referenced this issue Apr 9, 2015
@mishari mishari closed this as completed Apr 9, 2015
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