# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1242636888 -7200 # Node ID c153913924a5a1ba714dfe9b2069649eb171c8f2 # Parent c50245fb9ac2670974c0df436ccf116ad739f1db# Parent f54710fcdd6246ff60ee4865400fd4d0e3d2e54c merge diff -r c50245fb9ac2 -r c153913924a5 web/views/actions.py --- a/web/views/actions.py Mon May 18 10:09:06 2009 +0200 +++ b/web/views/actions.py Mon May 18 10:54:48 2009 +0200 @@ -9,7 +9,7 @@ from cubicweb.vregistry import objectify_selector from cubicweb.selectors import (EntitySelector, one_line_rset, two_lines_rset, one_etype_rset, relation_possible, - non_final_entity, + nonempty_rset, non_final_entity, authenticated_user, match_user_groups, match_search_state, has_permission, has_add_permission, ) @@ -74,7 +74,7 @@ if accept match. """ id = 'select' - __select__ = match_search_state('linksearch') & match_searched_etype() + __select__ = match_search_state('linksearch') & nonempty_rset() & match_searched_etype() title = _('select') category = 'mainactions'