Closed bahooha closed 9 years ago
I took a look at it.... There seems to be no function to save the sort-order or any change you made to an widget. The only way to solve the problem is to clone the widget and set the default order to "botLastVisit".
As quick workaround you can modify the file "plugins/BotTracker/Controller.php": Change Row 45 from $view->requestConfig->filter_sort_column = 'botCount'; to $view->requestConfig->filter_sort_column = 'botLastVisit';
Aha, I see. Thank you very much for looking into it!
Normally I try to avoid 'hacking' files, but if there is no function to save any preferences for widgets (the main widgets won't remember the sort-order either, so that is understandable), then maybe this is the best solution.
It's not that much effort for me to change that value whenever you come up with a new release of this awesome module and it saves you the -much larger- effort to find a way to save the sort-order :)
Still no way to save those parameters. I close this issue but I will rember it in the future
Hi,
First, thanks for your fantastic Piwik module! I use the widget on my dashboard and am most interested in when a bot has last visited my site. So every time I look at the dash, I click on 'Last visit' so the last bot will be on top. It would be awesome if the widget could remember this sorting or if there was an option available to set a preference. If you like this idea and might see it happen in a future release, then many thanks for that in advance! Otherwise, thanks for reading this and keep doing what you're doing :)