Filters do not work at least with the current views module (5.x-1.5, 2007-Jan-22). Apparently the filters would need handlers, see line 129 of views_query.inc ( "if (function_exists($filterinfo['handler'])) {" ).
Could you please fix it? If yes, roughly when can it be expected? If no, any volunteers (I am not familiar with this stuff)?

Comments

attila75’s picture

Status: Active » Closed (fixed)

This seems to be a views UI bug, because the filter value does not get set to '***CURRENT_USER***' as it should in view_filter table. I am using the filter "buddylist_users.currentuid". A colleague has it working on his computer. Further investigation is needed.

attila75’s picture

Title: Filters do not work » Filters values remain empty
Status: Closed (fixed) » Active

The problem happens when the filter value ("Currently Logged In User") is not selected from the list when creating the view.
I checked and found what is missing from the buddylist filters: this is the
'list-type' => 'select',
line. See e.g. the following from views_node.inc from the views module:

'currentuid' => array(
'field' => 'uid',
'name' => t('Node: Author is Current User'),
'operator' => 'views_handler_operator_eqneq',
'list' => 'views_handler_filter_usercurrent',
'list-type' => 'select',
'help' => t('This allows you to filter by whether or not the node was authored by the logged in user of the view.'),
),

I guess that you need to add it to all of the buddylist filters. Then you need to empty the cache. I am afraid that saving the module list as suggested by the views module README did not produce the result. "Empty cache" from the devel module worked.