Closed (fixed)
Project:
Search API sorts
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2012 at 05:46 UTC
Updated:
6 Oct 2012 at 16:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
FranciscoLuz commentedComment #2
FranciscoLuz commentedComment #3
Anonymous (not verified) commentedThanks, will review this soon.
$_GET['q']; (from current_path()) may not be available when using pretty facet paths. So need to test that.
Comment #4
dydave commentedI agree with the previous comment (Note#3) and think this issue and http://drupal.org/node/1741434
have a relationship at some point and especially for testing.
Comment #5
Anonymous (not verified) commentedPretty Paths now has this function: http://drupal.org/node/1661552#comment-6447350
Attached an improved patch with logic for pretty facet paths (also removing ?f[0] queries etc.)
This patch requires the latest facetapi_pretty_paths dev-x / beta
Comment #6
Anonymous (not verified) commentedThe solution from facetapi_pretty_paths is not stable yet. Please, for now, try this patch instead.
Comment #7
dydave commentedSorry morningtime, but this patch still fails for me.
After testing I get a similar issue as previously reported
the localhost/foldername/lang part of the URL gets doubled.... so I'm getting:
localhost/foldername/lang/foldername/lang/path/facet1/value1?sort=created&order ....
I'm just thinking exactly the same as you on this:
http://drupal.org/node/1741434#comment-6451916
I'm guessing we have to continue posting in facetapi pretty path:
http://drupal.org/comment/reply/1717424/6326290
So I'll follow up there.
Feel free to keep us updated on the status of the integration with facet pretty path.
Thanks!
Comment #8
Anonymous (not verified) commentedWhat the problem is, is that we need the original $_GET['q'] before it was altered by Pretty Facet Paths. #1661552: Get pretty path on any page from any module
But currently I have no clue how to do it.
Comment #9
Anonymous (not verified) commentedI presume this is now fixed in #1741434: Doesn't work with Facetapi Pretty Paths // needs improved logic to get path
Comment #10.0
(not verified) commentedgrammar fixing