Closed (fixed)
Project:
Coffee
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Jan 2012 at 19:36 UTC
Updated:
28 Mar 2014 at 12:47 UTC
Jump to comment: Most recent
The result list should be aware for access to menu links
Comments
Comment #1
michaelmol commentedTo achieve this, the range on the query is obsolete.
In the loop for each record from the query the function
menu_get_item($path)should be called and an check if the access attribute is set.After that the return array should be sliced, to return no to many results.
This extra callback can cause potentially performance issues.
Comment #2
michaelmol commentedhttp://drupalcode.org/sandbox/michaelmol/1356930.git/commit/d1de8b6
Comment #3
michaelmol commentedComment #4
michaelmol commented