Closed (won't fix)
Project:
Facets
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2014 at 11:18 UTC
Updated:
6 Oct 2015 at 17:01 UTC
Jump to comment: Most recent, Most recent file
The job of the URL processor is to take query parameters from the URL, process those so that they can be applied as query filters.
Porting the URL processor includes:
- Detecting if we are on a searcher page
- Detecting the query parameters
- Fetching and parsing the parameters
- Returning the parameters so they can be used as query filters.
D8 port should/could potentially include
- Make URL processors plugins wielding the plugin systems
- Use the Symfony/D8 HttpFoundation / Request class.
- Include support to deal with pretty paths as well as raw query parameters.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | facet-api-url-processor-2348825-3.patch | 2.54 KB | borisson_ |
| #1 | facet-api-url-processor-2348825-1.patch | 14.93 KB | FredericoT |
Comments
Comment #1
FredericoT commentedAs discussed during the Facet API codesprint at DrupalCon Amsterdam 2014 this patch provides a skeleton that describes what the D7 version used to handle. All functions and comments in this class have currently been copy/pasted verbatim and then tweaked to provide a starting point. Everything in this patch is subject to change.
Comment #3
borisson_Patched Frederico's patch to use the correct Adapter class, (\Drupal\facetapi\Adapter, not FacetapiAdapter)
Comment #4
jurcello commentedThis issue is based on the old architecture, and therefor should be closed.