This project is read-only.

Please put on the manual that returned JSON needs "total"

Feb 26, 2010 at 8:09 PM

The documentation for the returned JSON object fails to mention that "total" must be included. Without this, you do not get the "No Matching Results" indicator. The documentation says "used for paging only" but this is not correct.

Example should show:

  1. {"results":[  
  2.     {"id":1,"name":"Ant"},   
  3.     {"id":2,"name":"Bear"},  
  4.     {...} // more results here...  
  5. ],"total":"##"}  

Alternatively, the flexbox could should simply calculate the number of returned elements.