RusticiSoftware / TinCanJS

JavaScript library for the Experience API (Tin Can API)
http://rusticisoftware.github.io/TinCanJS/
Apache License 2.0
207 stars 115 forks source link

Paging does not work with attachments #150

Open tseabrooks opened 6 years ago

tseabrooks commented 6 years ago

https://github.com/RusticiSoftware/TinCanJS/blob/8733f14ddcaeea77a0579505300bc8f38921a6b1/src/LRS.js#L770-L786

When turning on attachment support the more link in the StatementResult is always null. Issue is in linked lines above. Code should be modified to grab the more value from the parsed JSON when doing attachments.