Update 2.2.1 - Visitor log sort order wrong


(Rainer Alföldi) #1

Since updating to piwik 2.2.1 the sort order of the visitor log has changed.

It now starts with the oldest visitor in the requested timeframe. Not really helpful.


#2

I have this issue too. How can this be changed?


#3

i have the same Problem! How can i fix it?


#4

This fix worked for me:

in Live plugin folder search for this file:

/plugins/Live/VisitorLog.php

Line 34 change:


$this->requestConfig->filter_sort_order  = 'asc';

Change it to


$this->requestConfig->filter_sort_order  = 'desc';

Hope this will help you.


(Rainer Alföldi) #5

Works. Thanks!


#6

Thanks mattrizio.

I hope there will be a permanent solution later, I don’t wait to update this file all the time when there’s a new release.


#7

Works! Thanks a lot!


(Matthieu Aubry) #8

It was fixed in git master and we will release new version asap with this fix!