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

Allow for filtering on 'taxonomies' on the overview pages. #3278

Merged
merged 1 commit into from
Mar 30, 2015
Merged

Allow for filtering on 'taxonomies' on the overview pages. #3278

merged 1 commit into from
Mar 30, 2015

Conversation

bobdenotter
Copy link
Member

It even works with paging, and it 'sticks' when using 'save and return to overview'. ^_^

See screenshot:

screenshot_2015-03-29_13_07_13

@GwendolenLynch
Copy link
Contributor

Key "taxonomy" for array with keys "name, singular_name, fields, default_status, 
show_on_dashboard, searchable, viewless, slug, singular_slug, show_in_menu, 
sort, groups" does not exist in "overview/_panel-actions_overview.twig" at line 24

@Pinpickle
Copy link
Contributor

🎉

{% set taxonomyfilter = false %}

<div class="form-group">
{% for taxonomy in context.contenttype.taxonomy %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Changing to this passes acceptance tests:

{% for taxonomy in context.contenttype.taxonomy|default([]) %}

@GwendolenLynch GwendolenLynch merged commit a655d62 into bolt:master Mar 30, 2015
@GwendolenLynch
Copy link
Contributor

It just fell in there, all on it's own!

@bobdenotter
Copy link
Member Author

Ha, was I taking too long? ;-)

@GwendolenLynch
Copy link
Contributor

I needed a sanity break, and figured you were having a busy-as-hell type of day.

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.

None yet

3 participants