Commit a3e269c6 authored by vermeul's avatar vermeul

corrected number of results in annotask query output, corrected redundant information

parent 7cb803fd
......@@ -258,13 +258,13 @@ class YATA {
$table = "";
if ($searches) {
$table .= "<b>Search for term:</b>";
$table .= "<b>Searched for term:</b>";
foreach($searches as $search_string) {
$table .= "<pre>".$search_string."</pre>";
}
}
if ($in_categories) {
$table .= "<b>Search in Categories:</b>";
$table .= "<b>Searched in these categories:</b>";
$table .="<pre>";
foreach($in_categories as $category) {
$table .= "\n".$category;
......@@ -272,8 +272,6 @@ class YATA {
$table .="</pre>";
}
$table .= "<b>" . $dbr->numRows($annotations). " Results of annotask query: </b>";
$table .= '([' . $title->getFullURL() . '?action=purge' . ' refresh page]):';
if ($dbr->numRows($annotations) > 0) {
$page_attributes = array();
......@@ -333,7 +331,10 @@ class YATA {
}
}
$new_table = $table . '<table class="wikitable sortable jquery-tablesorter">';
$table .= "<b>" . count($seen_annot) ." Results of annotask query: </b>";
$table .= '([' . $title->getFullURL() . '?action=purge' . ' refresh page]):';
$new_table = '<table class="wikitable sortable jquery-tablesorter">';
$table_header = '
<tr>
<th class="headerSort headerSortUp" tabindex="0" role="columnheader button" title="Sort descending"> Category </th>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment