TinCanPython icon indicating copy to clipboard operation
TinCanPython copied to clipboard

Add 'active' and 'voided' param_keys to RemoteLRS query_statements

Open pzingg opened this issue 8 years ago • 0 comments

I was trying out TinCanPython with the Learning Locker LRS backend. I wanted to search for non-voided statements prior to a date using 'until'. However, the query_statements function returns voided as well as un-voided statements. I'm not sure about ALL LRSes, but at least Learning Locker supports queries for 'voided' and 'active" statements.

There is a bug in Learning Locker's handling of multiple query parameters (but that's an issue for their project, not TinCanPython). I tested adding 'voided' to the allowed param_keys and then querying for 'voided': False, and it does the right thing.

pzingg avatar Jan 13 '17 00:01 pzingg