Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's been some fairly large updates to views in the latest alpha release (also a security release).
Unfortunately, this breaks my views based faceted search. I've tried everything superficial...
rebuild fs index
clear cache
clear views cache
run cron
Next level was to create a simple new view and test that.
No joy.
This issue solved getting views to show up in the results drop down...
Beyond that I'm stumped.
Is anyone else having problems with 6.x-3.0-alpha3? Or no problems with 6.x-3.0-alpha3?
Thanks,
mike
Comments
Comment #1
mpaler CreditAttribution: mpaler commentedchange title
Comment #2
mpaler CreditAttribution: mpaler commentedComment #3
mpaler CreditAttribution: mpaler commentedmaking the title slightly more urgent to attract attention.
Doing some debugging, I've been able to uncover one difference in the faceted search query object b/w 6.x-3.0-alpha1 (which works with FS as expected) vs alpha3.
Doing a print_r on $query towards the bottom of execute() in faceted_search.inc just after module_invoke_all (line 1170'ish)
for alpha1 (works) the subquery looks like this:
whereas alpha3 the subquery looks like this
I believe the problem is in function query_alter in faceted_search_views.module but I'm not enough of a views expert to solve.
(note:this is based on a simple test view that selects just node title).
--
A little more info from execute()
Is returning FALSE
Comment #4
mpaler CreditAttribution: mpaler commentedIs anyone else having this problem?
Comment #5
mpaler CreditAttribution: mpaler commentedIt appears the real problem is in function query_alter in faceted_search_views.module
The query returned from views 2 vs 3 is vastly different.
Comment #6
salientknight CreditAttribution: salientknight commentedI see the last post in this thread was from June 2010. Has this problem been addressed yet? I've having a number of bugs related to Views 3 with faceted search and cannot find any solutions :)
Comment #7
mpaler CreditAttribution: mpaler commentedI gave up as it requited way too much noodling with Faceted Search module. Planning on migrating to ApacheSolr & ApacheSolr Views.
Comment #8
sstose CreditAttribution: sstose commentedI'm having the same problem, as I need it to expose sorting (only in Views 3). But in that case, neither does it seem to (?) allow for exposed filters in Views 2, after all I've tried.
This module is great! I reverted back to it in D6 after futzing around with D7 and VPS Solr/Lucene options, including out-of-box Search Lucene API module (which doesn't allow me to use Views...). The best part about it is it allows faceted *browsing* in Views, not just faceted search results.
If PHP were up to scratch (it isn't), I'd love to contribute. Just a shout out to thank you for module, good work, and I hope to see more updates!