[Bug 5431] DD item count does not match returned items
- From: bugzilla-daemon (at) xaraya.com
- Date: Tue, 21 Feb 2006 15:35:51 +0000 (GMT)
Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.
http://bugs.xaraya.com/show_bug.cgi?id=5431
------- Additional Comments From judgej (at) xaraya.com 2006-02-21 15:35 GMT -------
The code for fetching the items and the count were:
$count = xarModAPIfunc(
'dynamicdata', 'user', 'countitems',
$search_array
);
and
$items = xarModAPIfunc(
'dynamicdata', 'user', 'getitems',
array_merge(
$search_array,
array('startnum' => $startnum, 'numitems' => $numitems)
)
);
So, you can see that the same search details were passed into both, which
essentially consisted of the moduleid, itemtype, and the 'where'-clause.
Implemented as a dedicated table, the correct queries were created in both
cases, and the count matched the number of items returned.
--
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs