fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Sujeeth <arv...@mines.io>
Subject Re: totalFilteredRecords returning incorrect value
Date Mon, 26 Sep 2016 21:38:29 GMT
Hi Adi,

The API is list clients (GET /clients), with parameter sqlSearch set to "c.account_no={client
account no}", where {client account no} is replaced by a literal value like 123456789, corresponding
to the client account number.

Arvind

On 9/23/16 6:50 PM, Adi Raju wrote:
> What is the API? And the request params?
> 
> On 24-Sep-2016 4:39 AM, "Arvind Sujeeth" <arvind@mines.io> wrote:
> 
>> Hi all,
>>
>> I've observed another strange (and seemingly incorrect behavior). I
>> launched a very simple query (lookup client) 1000 times, and 14 of those
>> times (i.e. non-deterministically) the "totalFilteredRecords" field in the
>> response was not what I expected. The deserialized response is below:
>>
>>> class RetrieveMultipleClientsResponse {
>>>  totalFilteredRecords: 1
>>>  pageItems: []
>>> }
>>
>>
>> For all of the other (986 out of 1000) requests, the value was "0" as
>> expected. Am I misunderstanding the meaning of totalFilteredRecords, or is
>> there an outstanding bug here?
>>
>> thanks,
>> Arvind
>>
> 

Mime
View raw message