1 (edited by losinggeneration 2012-04-24 04:04:38)

Topic: Bug in alias total

==== Provide required information to help troubleshoot and get quick answer ====
- DBMailAdmin version: 1.1.0
- Linux/BSD distribution name and version: CentOS 6
====

Looks like the total from the query for the alias list is getting sent back based on the number of results for the current page instead of all the results (e.g. there are 50 results for this page, and 127 total, 50 is getting returned as the total and not 127.) The attached patch does the  same thing users does to get the total (a second SQL query for the total.)

Post's attachments

DBMailAdmin-MySQL-1.1.0-correct_alias_total.patch 1012 b, 1 downloads since 2012-04-23 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Bug in alias total

Committed. Thanks for your contribution. smile
https://bitbucket.org/zhb/dbmailadmin/c … 58d7815fe6