Romain / Matomo-IP-to-Company

A plugin for Matomo which gives you the name of the company that visited your website, based on its IP.
GNU General Public License v3.0
15 stars 11 forks source link

Pagination missing in results table, generates a warning #8

Closed mhh515 closed 4 years ago

mhh515 commented 4 years ago

We have a problem with the IPtoCompany results table; it does not show “Next >” although there are more than 5 results (we can see it if we select more “Rows to display”):

iptocompnay_pagination

WARNING: Sorting the API method "Live.getLastVisitDetails" by column is currently not supported. To avoid this warning remove the URL parameter "filter_sort_column" from your API request. (Module: API, Action: getCompanies, Method: Live.getLastVisitsDetails, In CLI mode: false)

The warning also seems to disable the plugin in Matomo.

Romain commented 4 years ago

Hi @mhheene, Thanks for letting me know about this bug. I'll investigate to see what can be the cause. Could you give me the version number of your matomo installation?

mhh515 commented 4 years ago

Hi @Romain , we are currently using Matomo 3.14.0 (3.14.1 is the latest but we haven't upgraded yet), and the IPtoCompany plugin version is 0.4.5.

Romain commented 4 years ago

Ok, thanks, I'll check this out.

Romain commented 4 years ago

Hi @mhheene, version 0.4.6 fixes the pagination issue. I also prepared a release compatible to Matomo 4.x, which includes this fix.

mhh515 commented 4 years ago

Thanks a lot, @Romain

Romain commented 4 years ago

@mhheene You're welcome!

mhh515 commented 4 years ago

@Romain , have you submitted the latest release to the Matomo marketplace yet? I.e., can I download it from there, or should I use the version here on BitBucket? There are two versions now, 0.4.6 and 1.0.1; which one should I use? Thanks!

Romain commented 4 years ago

@mhheene Both versions are available, it depends on your setup. 0.4.6 is for Matomo 3.x and 1.0.1 is for 4.x. The easiest way to update (or install) this plugin is to go in the admin section of Matomo and use the components tab. You should be able to install or update it from there.