|
13 | 13 | order: [[10, "asc"], [ 1, "asc" ]],
|
14 | 14 | columnDefs: [{type:'natural', targets:[3,4,5,9]}, {"targets": [ 2 ],"visible": false}],
|
15 | 15 | "oLanguage": {
|
16 |
| - "sSearch": "Refine search results:", |
| 16 | + "sSearch": "Narrow search results by column data (Title, abstract, PI, etc):", |
17 | 17 | "sLoadingRecords": "Loading table data",
|
18 | 18 | "sZeroRecords": "No studies found"
|
19 | 19 | },
|
|
22 | 22 | "error": function(jqXHR, textStatus, ex) {
|
23 | 23 | $("#submit-button").prop("disabled",false);
|
24 | 24 | $("#search-error").text(jqXHR.responseText);
|
25 |
| - } |
| 25 | + } |
26 | 26 | }
|
27 | 27 | });
|
28 | 28 | $('#shared-studies-table').dataTable({
|
29 | 29 | order: [[ 1, "asc" ]],
|
30 | 30 | columnDefs: [{type:'natural', targets:[4,5,6]}, {"targets": [ 2 ],"visible": false}],
|
31 | 31 | "oLanguage": {
|
32 |
| - "sSearch": "Refine search results:", |
| 32 | + "sSearch": "Narrow search results by column data (Title, abstract, PI, etc):", |
33 | 33 | "sLoadingRecords": "Loading table data",
|
34 | 34 | "sZeroRecords": "No studies found"
|
35 | 35 | },
|
36 | 36 | "ajax": {
|
37 | 37 | "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) {} |
42 | 39 | }
|
43 | 40 | });
|
44 | 41 |
|
|
89 | 86 | <!--Search div-->
|
90 | 87 | <div class="row">
|
91 | 88 | <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 /> |
93 | 92 | <p><a href="#" data-toggle="modal" data-target="#searchexample">Search help</a> | <a href="#" data-toggle="modal" data-target="#availmeta">Available Metadata</a></p>
|
94 | 93 | <form id="search-form" name="search-form" class="form-inline">
|
95 | 94 | <input type="textbox" id="searchbox" name="searchbox" class="form-control" style="width:80%;white-space:nowrap;" />
|
|
0 commit comments