Closed (duplicate)
Project:
Faceted Search
Version:
6.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2010 at 16:03 UTC
Updated:
15 Oct 2012 at 13:44 UTC
Jump to comment: Most recent
Comments
Comment #1
reniren commentedAfter some debugging on faceted_search_views_faceted_search_ui_style_info(), the solution I found is by making EXPLICIT the values that are being checked in the IF statement.
By explicitly setting display_options['use_pager'] to TRUE in the codes of the exported View, the problem was solved.
Just left this note in case anybody else has the same problem.
Comment #2
keva commentedHaving the same problem with Views 6.x-3.x-dev.
I even created a very simple view with all the FS requirements (Ajax:no, distinct:no, Args:no, Exposed Filters: no, Pager:yes)
Views 3 doesn't appear to have display_options['use_pager'], so explicitly setting the pager to TRUE in the same way is not an option.
EDIT: I recreated the site locally, downgraded to Views 6.x-2.10, and faceted search picks up all views that are set up correctly!
Comment #3
brycesenz commentedSubscribing. I am also having problems getting this to work correctly with Views 3.
Comment #4
kpojeta commentedDowngrading to Views 2 is not an option due to some Views 3 functionality I need. Is there a solution in sight to this issue? I am also unable to get views to show up except the taxonomy_term, which produces errors as stated above, and some nodequeue views. I tried cloning these views to see if I could get a duplicate or new version to show up. Unsuccessful. Resolution would be much appreciated! Thanks
Comment #5
whitelancer commentedIn faceted_search_views.module, change this line:
if ($view->base_table == 'node' && empty($view->disabled) && $view->display['default']->display_options['use_pager']) {
to be:
if ($view->base_table == 'node' && empty($view->disabled) && !empty($view->display['default']->display_options['pager']['type'])) {
Since views 3 has different handling of pagers now.
(I'm still trying to figure out other bugs, but at least this gets the view to show up in the drop down...)
Comment #6
groovehunter commentedthanks for sharing.
works for me.
Comment #7
Aldus commentedhas this been committed?
Comment #8
Anonymous (not verified) commentedDoes not work for me. Sure, the view is displayed in the list but on the result pages, I get
Call to undefined method view::set_use_pager() in faceted_search_views.module on line 55Furthermore, when I set something else than an "extract" in the display settings, the search blocks disappear...
Comment #9
Anonymous (not verified) commentedI've found the solution in http://drupal.org/node/372187 #35
Comment #10
mrP commentedclosing as duplicate of #372187: Facted search - views error - operand should contain 1 column. See #38 for Views 3 patch.