Jump to content

Layered Navigation Features


rseigel

Recommended Posts

I've added several new features, populated with feature values, that appear in the layered navigation block.

 

Problem is that they're not sorted alphabetically - just in the order they were created.

 

I'm sure it must be somewhere in /modules/blocklayered/blocklayered,php that I need to add an "ORDER BY ??? ASC'" - I just can't pin down where.

 

Any and all help is very much appreciated.

Link to comment
Share on other sites

Tried this:

 

2724:

 

changed

 

$sql_query['group'] = 'GROUP BY fv.id_feature_value';

 

to

 

$sql_query['group'] = 'GROUP BY fv.id_feature_value ORDER BY fvl.value';

 

and

 

2744:

 

changed

 

GROUP BY fv.id_feature_value';

 

to

 

GROUP BY fv.id_feature_value ORDER BY fvl.value';

 

No dice but it seems like it should work.

 

Any more ideas?

 

Ron

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...