line 121: function build_sort_query_type() {
should be function build_sort_query_type(&$query) {
Lack of '&$query' leads to "Fatal error: Call to a member function add_orderby() on a non-object in ...\biblio_facets\biblio_type_facet.module on line 122"

line 154: $query->add_orderby('biblio_types.weight');
line 155: $query->add_orderby('biblio_types.name');
should be removed from function build_root_categories_query(&$query), otherwise the sort criteria won't work

Comments

david lesieur’s picture

Status: Active » Fixed

Fix committed to HEAD (note that the current "dev" version currently works only with the "dev" version of Faceted Search). Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.