diff --git a/views/bootstrap/class.Indexer.php b/views/bootstrap/class.Indexer.php index fc35be2bc..5fb16c326 100644 --- a/views/bootstrap/class.Indexer.php +++ b/views/bootstrap/class.Indexer.php @@ -63,6 +63,7 @@ function check_queue() { beforeSend: function() { queue_count++; // Add request to the counter $('.queue-bar').css('width', (queue_count*100/MAX_REQUESTS)+'%'); + $('.queue-bar').text(queue_count + '/' + MAX_REQUESTS); }, error: function(xhr, textstatus) { noty({ @@ -162,7 +163,7 @@ $(document).ready( function() { $created = 0; } $content = $document->getLatestContent(); - if($created > $content->getDate() && !$forceupdate) { + if($created >= $content->getDate() && !$forceupdate) { echo $indent."getID()."\" class=\"indexstatus\" data-docid=\"".$document->getID()."\">document unchanged"; } else { $index->delete($hit->id);