Support Forums - Classified Ads Script Osclass

Osclass plugin support => Osclass Pay Plugin => Topic started by: Sudo on December 11, 2017, 09:26:02 PM

Title: [SOLVED]Limit Output on Payment logs
Post by: Sudo on December 11, 2017, 09:26:02 PM
Am looking for a way to limit the number of log entries returned at:
/oc-admin/index.php?page=plugins&action=renderplugin&file=osclass_pay/admin/log.php

Ideally, could drop down a selector for (10-50-100-1000-ALL) to display what you want, but
limiting it to last 100 would be ok short term solution.  I have many entries in log, takes a bit to load
and I really don't need to see everything. Thanks in advance for help!

warm regards,
@Sudo
Title: Re: Limit Output on Payment logs
Post by: MB Themes on December 11, 2017, 09:32:41 PM
@Sudo
In file:
/oc-content/plugins/osclass_pay/model/ModelOSP.php

You have:
Code: [Select]
$this->dao->limit(5000);
Change it to:
Code: [Select]
$this->dao->limit(500);
Title: Re: [SOLVED]Limit Output on Payment logs
Post by: Sudo on December 12, 2017, 12:44:09 AM
Perfect!  thank you!
@Sudo