At the moment I'm using this snippet:
<?php
include_once drupal_get_path('module','biblio') . '/biblio.pages.inc';
print biblio_db_search("inline", "custom2", "thepoitiershist");
?>
It is possible to had a filter to this snippet to list the result filter by years? I would appreciate an exemple.
Thank you,
Denis
Comments
Comment #1
rjerome commentedIf you want a specific year (i.e. 2006), then this should work...
Comment #2
p0732658 commentedActualy, what I mean is to display the snippet results filters by years: either from the oldest publication date to the newest publication, or the newest publication date to the oldest.
Comment #3
rjerome commentedThat should happen by default, how does it appear to be sorted?
Comment #4
p0732658 commentedI probably had something not set properly. I've set the filter to Year / Descendant in the biblio properties and It work fine. It would still be nice to be able to set different filters display (by year, by author,etc.) for different biblio_db_search snippet. At the moment, the setting in biblio properties affect the hole site. So, if I want a page display by years accendant in one section and by authors in another, I cant. Should I create a feature request?
Comment #5
rjerome commentedConsider the feature request made :-)
Comment #6
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.