Navigation groups > 10 == small problem

edited September 2011 in Bug Reports
In the navigation module in the cms the page maken an ajax request to get the navigation items. Somehow this turns into this query:

SELECT `fuel_navigation`.* FROM (`fuel_navigation`) WHERE LOWER(fuel_navigation.group_id) LIKE '%1%' ORDER BY `id` asc

It is a bit problematic because if you have more than 10 navigation_groups it will return everything with a 1 in the group_id.

This is the request (for reference)
POST /cms/navigation/items/
col nav_key
group_id 1
limit 100
offset 0
order asc
precedence 1
search_term
view_type list

Comments

Sign In or Register to comment.