Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7747 closed defect (fixed)

Rest Range

Reported by: maulin Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.2
Component: DojoX Data Version: 1.2beta
Keywords: Cc: kris@…
Blocked By: Blocking:

Description

I think when start is 0, range header should be items=0-19

not

items=-19

right?

fix is in Rest.js at line 86

Range: args && (args.start >= 0
args.count >= 0) ? "items=" + (args.start '0') + '-' + ((args.count && (args.count + (args.start 0) - 1)) ) : undefined

Change History (2)

comment:1 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [15345]) fixes #7747 (low risk)

comment:2 Changed 11 years ago by Adam Peller

Milestone: tbd1.2
Note: See TracTickets for help on using tickets.