-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add filters on taxonomy and post page #1373
Merged
Merged
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0017edf
Add a 'type' to all validation errors
kienstra 3e9a81e
If an on* attribute is removed, make type js_error
kienstra 0ae789d
In unit test assertions, change to js_error
kienstra 3433791
Add a query var to filter by type
kienstra 8dd3f01
Filter the term redirect location, to possibly add a query var
kienstra 5f92cc2
Render the taxonomy filter for this taxonomy type
kienstra 3d17734
Add a filter <select> element for error type, like 'Accepted'
kienstra c2656a3
Remove views for filtering taxonomy, but reuse their counts
kienstra fe43d31
Add the option value for 'All Statuses' to the whitelist
kienstra 1e135d2
Use the new terminology for the error taxonomy page name
kienstra f1d4bea
Address failed unit tests in Travis build
kienstra caa2a26
Restore error counts by status in <option>
kienstra 7b937b1
Merge branch 'develop' into add/1360-taxonomy-error-type
kienstra 13d5caf
Add error types for HTML (Element) and HTML (Attribute)
kienstra b74854c
Refactor logic in render_taxonomy_filters() into 2 methods
kienstra 0397a52
Add filters on the 'Errors by URL' page
kienstra 228eb81
Filter for error type on Errors by URL page
kienstra a567047
Output the 'View errors by URL' link from the design
kienstra 3bcfc03
Simplify add_term_filter_query_var()
kienstra 13a8648
Make the error status counts accurate on the Errors by URL page
kienstra 6c5c06d
On the 'Errors by URL' page, use 'With New Errors' instead of 'New Er…
kienstra 6c262f0
Remove extra empty line to address Travis failure
kienstra 3694bb9
Fix an issue where filtering by 'All Error Types' wasn't reflected in…
kienstra 8443fd8
Improve inline documentation, address Travis error.
kienstra a13c91e
Skip showing status dropdown if there will be no options
westonruter 61c6095
Simplify logic conditional in render_post_filters
westonruter 364944e
Only add WHERE conditions when required in filter_posts_where_for_val…
westonruter ea15a2e
Fix translatability of strings which vary 'with'
westonruter 2882262
Harden reading of input vars
westonruter 3b87595
Opt to output all status options even when empty to prevent de-select…
westonruter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs to be a
js_error
if it is an invalidate attribute and the attribute starts withon
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. 3e9a81e sets a
js_error
foron*
attributes: