Skip to content

Commit 58b28cd

Browse files
committed
implement Jess' suggestions
1 parent ce4d334 commit 58b28cd

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

qiita_pet/templates/list_studies.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
order: [[10, "asc"], [ 1, "asc" ]],
1414
columnDefs: [{type:'natural', targets:[3,4,5,9]}, {"targets": [ 2 ],"visible": false}],
1515
"oLanguage": {
16-
"sSearch": "Refine search results:",
16+
"sSearch": "Narrow search results by column data (Title, abstract, PI, etc):",
1717
"sLoadingRecords": "Loading table data",
1818
"sZeroRecords": "No studies found"
1919
},
@@ -22,23 +22,20 @@
2222
"error": function(jqXHR, textStatus, ex) {
2323
$("#submit-button").prop("disabled",false);
2424
$("#search-error").text(jqXHR.responseText);
25-
}
25+
}
2626
}
2727
});
2828
$('#shared-studies-table').dataTable({
2929
order: [[ 1, "asc" ]],
3030
columnDefs: [{type:'natural', targets:[4,5,6]}, {"targets": [ 2 ],"visible": false}],
3131
"oLanguage": {
32-
"sSearch": "Refine search results:",
32+
"sSearch": "Narrow search results by column data (Title, abstract, PI, etc):",
3333
"sLoadingRecords": "Loading table data",
3434
"sZeroRecords": "No studies found"
3535
},
3636
"ajax": {
3737
"url": ajaxURL + "&type=shared&query=",
38-
"error": function(jqXHR, textStatus, ex) {
39-
$("#submit-button").prop("disabled",false);
40-
$("#search-error").text(jqXHR.responseText);
41-
}
38+
"error": function(jqXHR, textStatus, ex) {}
4239
}
4340
});
4441

@@ -89,7 +86,9 @@
8986
<!--Search div-->
9087
<div class="row">
9188
<div class="col-sm-12">
92-
<h1>Search</h1>
89+
<h1>Metadata Search</h1>
90+
A basic search consists of: (category) (operator) (value)<br/>
91+
Example search: env_matter = soil<br />
9392
<p><a href="#" data-toggle="modal" data-target="#searchexample">Search help</a> | <a href="#" data-toggle="modal" data-target="#availmeta">Available Metadata</a></p>
9493
<form id="search-form" name="search-form" class="form-inline">
9594
<input type="textbox" id="searchbox" name="searchbox" class="form-control" style="width:80%;white-space:nowrap;" />

0 commit comments

Comments
 (0)