I'm trying to set up a system to search between date ranges, but only by year, e.g. 1601 - 1844.
The calendar picker in the date range option in Zoom is a bit overkill and awkward for the purpose.
I've developed a sort of workaround whereby I have 2 meta fields in each file which include the year of the document's publication:
("date" is set to "equal to or greater than" and "date2" to "less than or equal to")
However, this means that the date appears twice in the search results.
Is there a way to prevent the "date2" line appearing in the search results, perhaps by "display: none" in the css? If so, where would I do that?
Or perhaps there is a neater solution to what I want to do?
The calendar picker in the date range option in Zoom is a bit overkill and awkward for the purpose.
I've developed a sort of workaround whereby I have 2 meta fields in each file which include the year of the document's publication:
Code:
<meta name="date" content="1627" /><!--date of publication--> <meta name="date2" content="1627" /><!--date of publication for upper end date range searches-->
However, this means that the date appears twice in the search results.
Is there a way to prevent the "date2" line appearing in the search results, perhaps by "display: none" in the css? If so, where would I do that?
Or perhaps there is a neater solution to what I want to do?
Comment