*

Sudo

  • ***
  • 47 posts
[SOLVED]Limit Output on Payment logs
« 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
« Last Edit: December 12, 2017, 12:43:52 AM by Sudo »

*

MB Themes

Re: Limit Output on Payment logs
« Reply #1 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);
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sudo

  • ***
  • 47 posts
Re: [SOLVED]Limit Output on Payment logs
« Reply #2 on: December 12, 2017, 12:44:09 AM »
Perfect!  thank you!
@Sudo