Changes between Initial Version and Version 1 of Ticket #7369
- Timestamp:
- Aug 4, 2008, 6:20:56 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7369
-
Property
Summary
changed from
QueryReadStore.php returns full result list on query for ''
toQueryReadStore.php returns full result list on query for ""
-
Property
Summary
changed from
-
Ticket #7369 – Description
initial v1 2 2 http://archive.dojotoolkit.org/dojo-2008-08-04/dojotoolkit/dojox/data/tests/QueryReadStore.html 3 3 4 Clear the very bottom box that contains 'a' so it is completely blank. Press store.fetch. A query for ''should return 0 results, but instead the PHP returns everything, which is wrong. I've never had this problem before with QueryReadStore, so I suspect it is a problem with dojox/data/tests/stores/QueryReadStore.php.4 Clear the very bottom box that contains "a" so it is completely blank. Press store.fetch. A query for "" should return 0 results, but instead the PHP returns everything, which is wrong. I've never had this problem before with QueryReadStore, so I suspect it is a problem with dojox/data/tests/stores/QueryReadStore.php. 5 5 6 The net effect is that you can't clear the FilteringSelect on that page; it will always select Alabama since '' returns the full list and Alabama is #1 on the list. Basically, only a query for '*' should return everything, and a query for '' should only return things that match exactly '' *from start to end*. In this case, none of the data matches ''exactly so the PHP should return nothing.6 The net effect is that you can't clear the FilteringSelect on that page; it will always select Alabama since "" returns the full list and Alabama is #1 on the list. Basically, only a query for "*" should return everything, and a query for "" should only return things that match exactly "" *from start to end*. In this case, none of the data matches "" exactly so the PHP should return nothing. 7 7 8 8 wolfram I don't know PHP too well but it looks like your code based on the SVN log, could you take a look at it?