Changes between Initial Version and Version 2 of Ticket #16646


Ignore:
Timestamp:
Jan 31, 2013, 1:37:04 AM (8 years ago)
Author:
bill
Comment:

It works for me, testing on dojox/data/tests/QueryReadStore.html. I remember fixing problems with QueryReadStore in the past. Is this really happening on 1.8.3, as you listed, or an earlier version?

Please attach a test case using the "attach file" button. It should be as small as possible to still reproduce the problem, almost always a single HTML file that we can load in the browser (i.e. not PHP, JSP, etc.)

Then, give exact instructions on how to reproduce the problem using your attached test file.

The test case is necessary both to confirm that there's a bug, and for us to be able to debug the problem.

Thanks!

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16646

    • Property Owner changed from Douglas Hays to Pavneet Singh Gill
    • Property Status changed from new to pending
  • Ticket #16646 – Description

    initial v2  
    33The JSP code I am using is :
    44
     5{{{
    56<td class="tableDetail" colspan="3">
    67                                                                                <div dojoType="dojox.data.QueryReadStore" jsId="orderSetStore" url="OrderSets.ajax?action=loadList" requestMethod="get"></div>
    78                                                                    <input dojoType="dijit.form.FilteringSelect" id="orderSetList" name="orderSet" searchAttr="description" autocomplete="false" store="orderSetStore" pageSize="15" style="width: 300px"/>
    89                                                                        </td>
     10}}}
    911
    1012On debugging the dojo code I have found that in file _SearchMixin.js
     
    1214there is a condition on line 197:
    1315
     16{{{
    1417if(direction){
    1518                                                                                options.start += res.length;
     
    1821                                                                                }
    1922                                                                        }
     23}}}
    2024
    2125This condition makes my options.count = 0 whenever the start variable  gets greater than the pageSize specified. This results in values not coming in the list.
     
    2832
    2933
    30