|
301 | 301 | <f:param name="folderPresort" value="#{DatasetPage.folderPresort}"/> |
302 | 302 | </h:outputLink></li> |
303 | 303 | <li><h:outputLink rel="nofollow" value="/dataset.xhtml"> |
304 | | - <h:outputText styleClass="#{(DatasetPage.fileSortField == 'date' and (empty DatasetPage.fileSortOrder)) ? 'highlightBold' : ''}" value="#{bundle['file.results.btn.sort.option.newest']}"/> |
| 304 | + <h:outputText styleClass="#{(DatasetPage.fileSortField == 'date' and DatasetPage.fileSortOrder == 'desc') ? 'highlightBold' : ''}" value="#{bundle['file.results.btn.sort.option.newest']}"/> |
305 | 305 | <f:param name="persistentId" value="#{DatasetPage.persistentId}"/> |
306 | 306 | <f:param name="version" value="#{DatasetPage.version}"/> |
307 | 307 | <f:param name="q" value="#{DatasetPage.fileLabelSearchTerm}"/> |
308 | 308 | <f:param name="fileTypeGroupFacet" value="#{DatasetPage.fileTypeFacet}"/> |
309 | 309 | <f:param name="fileAccess" value="#{DatasetPage.fileAccessFacet}"/> |
310 | 310 | <f:param name="fileSortField" value="date"/> |
| 311 | + <f:param name="fileSortOrder" value="desc"/> |
311 | 312 | <f:param name="tagPresort" value="#{DatasetPage.tagPresort}"/> |
312 | 313 | </h:outputLink></li> |
313 | 314 | <li><h:outputLink rel="nofollow" value="/dataset.xhtml"> |
314 | | - <h:outputText styleClass="#{(DatasetPage.fileSortField == 'date' and DatasetPage.fileSortOrder == 'desc') ? 'highlightBold' : ''}" value="#{bundle['file.results.btn.sort.option.oldest']}"/> |
| 315 | + <h:outputText styleClass="#{(DatasetPage.fileSortField == 'date' and (empty DatasetPage.fileSortOrder)) ? 'highlightBold' : ''}" value="#{bundle['file.results.btn.sort.option.oldest']}"/> |
315 | 316 | <f:param name="persistentId" value="#{DatasetPage.persistentId}"/> |
316 | 317 | <f:param name="version" value="#{DatasetPage.version}"/> |
317 | 318 | <f:param name="q" value="#{DatasetPage.fileLabelSearchTerm}"/> |
318 | 319 | <f:param name="fileTypeGroupFacet" value="#{DatasetPage.fileTypeFacet}"/> |
319 | 320 | <f:param name="fileAccess" value="#{DatasetPage.fileAccessFacet}"/> |
320 | 321 | <f:param name="fileSortField" value="date"/> |
321 | | - <f:param name="fileSortOrder" value="desc"/> |
322 | 322 | <f:param name="tagPresort" value="#{DatasetPage.tagPresort}"/> |
323 | 323 | </h:outputLink></li> |
324 | 324 | <li><h:outputLink rel="nofollow" value="/dataset.xhtml"> |
|
0 commit comments