Closed agbeltran closed 9 years ago
This appears to be working now.
Thanks for looking into this Eamonn. But are you sure that the searchers like this will always work? Tx
Well, the filter is basic. So if there are sub strings, they can match more than the filter tells you. e.g. for 'data integration (14)' and 'data integration objective (17)'. We can use the index instead for this.
$(".submission_item").each(function () {
var text = $(this).text().toLowerCase().trim();
var ok_to_show = true;
ISATABExplorer.current_filters.forEach(function (item) {
if (text.indexOf(item.toLowerCase().trim()) == -1) {
ok_to_show = false;
}
});
if (ok_to_show || ISATABExplorer.current_filters.size == 0) {
$(this).fadeIn(200);
} else {
$(this).fadeOut(200);
}
});
when searching for 'figshare' only 25 datasets are found but there are 31 figshare datasets
What fields are being included in the search?