From: Demian K. <dem...@vi...> - 2015-08-26 12:48:51
|
Right now, this value is hard-coded in templates in two places: https://github.com/vufind-org/vufind/blob/master/themes/bootstrap3/templates/Recommend/SideFacets.phtml#L93 and https://github.com/vufind-org/vufind/blob/master/themes/bootstrap3/templates/search/advanced/ranges.phtml#L24 (the first is for the side facets area, the second is for advanced search; there’s also a third in the EBSCO Discovery templates, but I assume this does not affect you). It would almost certainly make sense to introduce this as a configuration setting; that work simply hasn’t been done. If you have time to put together a pull request, I’d certainly be willing to merge it (and we can discuss strategy if you like)! - Demian From: SamuelOPH [mailto:sam...@gm...] Sent: Tuesday, August 25, 2015 4:52 PM To: vuf...@li... Subject: [VuFind-General] [Vufind-General] Customize date range on "year of pub." facet The facet "year of publication" currently has a range of 1400-[current year], I'd like to shrink this window because its hard to select ranges like '2014-2016' with the mouse considering that the line selector is too small for 616 units (2016-1400=616). Probably a range like 1950-2016 would be better (I know we won't harvest from anywhere old like this). Where can I set this? Samuel Henrique O. P. [samueloph] Técnico em Informática - UTFPR [2012]. Estudante de Engenharia de Computação - UTFPR. |