diff --git a/CHANGELOG b/CHANGELOG index bbbf8e3de..f08f7a941 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -200,6 +200,7 @@ mismatch - overhaul notifications, type of receiver is now passed to notification service which allows a more fine grained filtering +- show difference in number of documents on chart page -------------------------------------------------------------------------------- Changes in version 5.1.21 diff --git a/views/bootstrap/class.Charts.php b/views/bootstrap/class.Charts.php index de8c3be69..afe106741 100644 --- a/views/bootstrap/class.Charts.php +++ b/views/bootstrap/class.Charts.php @@ -227,7 +227,11 @@ $(document).ready( function() { contentContainerEnd(); echo "
".getMLText('chart_'.$type.'_title')." | ".getMLText('total')." | |
---|---|---|
".getMLText('chart_'.$type.'_title')." | ".getMLText('total')." | "; + if(in_array($type, array('docspermonth', 'docsaccumulated'))) + echo ""; + echo " |
".htmlspecialchars($item['key'])." | ".$item['total']." | |
".htmlspecialchars($item['key'])." | "; + echo "".$item['total']." | "; + if(in_array($type, array('docspermonth'))) + echo "".sprintf('%+d', $item['total']-$oldtotal)." | "; + echo "
".$total." | ||
".date('Y-m-d', $item['key']/1000)." | ".$item['total']." | |
".getReadableDate($item['key']/1000)." | "; + echo "".$item['total']." | "; + echo "".sprintf('%+d', $item['total']-$oldtotal)." | "; + echo "