-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/faceting #7
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7a33bfb
add facet types
jakewrfoster 73e6c6f
add field mapping to controller
jakewrfoster 7b1aaa3
map core fields to adapters
jakewrfoster 6b82b23
add DSL
jakewrfoster 633ef4a
add facet parsing, set/get for config, getter for facet data
jakewrfoster eef0570
add tax aggregations to vip adapter
jakewrfoster 4d5b869
add tag and category aggs to vip adapter, refactor map_* funcs to ada…
jakewrfoster 90dd6c6
add helpers to get facet data and set up facet configs
jakewrfoster f554db7
add Facet class
jakewrfoster 757937f
phpcs edits
jakewrfoster e6be068
add generic adapter allow empty search faceting functionality
jakewrfoster bde4b23
add facet config to controller
jakewrfoster dd4c75f
move facet dsl to VIP Adapter class, add func to allow empty search f…
jakewrfoster 1ee22ab
add tag and category faceting config setters
jakewrfoster eed15a1
add args to post tag and category agg functions
jakewrfoster 7a11fd8
add name setter to facet class
jakewrfoster 51bf61a
inject facet name from config into facet class constructor
jakewrfoster c3c68f7
please phpcs gods
jakewrfoster c6a7aed
add TODO to README
jakewrfoster b4ecc47
add TODO to date DSL
jakewrfoster c34c6ec
add handling for post_tag item query vars, add TODOs
jakewrfoster e722737
add enable_post_date_aggregation to controller
jakewrfoster 3a9db46
add facet config to tFacet objects
jakewrfoster 2250ce3
add calendar interval to post_date Facet Type class
jakewrfoster 7abadb9
add Post_Date aggs to qp query request args
jakewrfoster 6d974c8
add post_date aggs to adapter
jakewrfoster c27cdc1
Merge pull request #9 from alleyinteractive/feature/post-date-facets
jakewrfoster 399a9db
update @see tags
jakewrfoster f006b5e
add phpcs fixes
jakewrfoster 210e417
Merge branch 'main' into feature/faceting
kevinfodness 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
add args to post tag and category agg functions
- Loading branch information
commit eed15a1407f424c40ff2968328c520543a61f769
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
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.
I wonder if it's possible to make this generic per taxonomy - we should be able to pull information about the taxonomy from its slug, so we could do something like
enable_taxonomy_aggregation( 'post_tag' )
which would get info about thepost_tag
taxonomy which would include its label (Tags
), and do the same with categories and custom taxonomies, rather than having a special handler for categories and tags.