On my site I have both biblio publications and books publications. So I create lists with these nodes using views. And I would like to have good interface for searching through these publications. I've found, that biblio provides fields, but not filters for views. This patch adds filters.
Index: biblio.module
===================================================================
--- biblio.module (revision 88)
+++ biblio.module (working copy)
@@ -2701,6 +2701,9 @@
'sortable' => true,
'notafield' => false,
));
+ views_table_add_filter($table, $field['name'], "Biblio: ".$field['title'], "", array(
+ 'operator' => 'views_handler_operator_like',
+ 'handler' => 'views_handler_filter_like'));
}
$tables['biblio'] = $table;
Comments
Comment #1
schildi commentedvery helpful hint!
Regards
schildi
Comment #2
bekasu commented