@@ -573,7 +573,7 @@ class Ldpr(metaclass=ABCMeta):
?latest fcrepo:hasVersionLabel ?uid ;
fcrepo:created ?ts .
}
- ORDER BY ?ts
+ ORDER BY DESC(?ts)
LIMIT 1
''')
ver_uid = str(ver_rsp.bindings[0]['uid'])
@@ -710,7 +710,6 @@ class TestVersion:
laz_data = self.client.get(path).data
laz_gr = Graph().parse(data=laz_data, format='turtle')
- import pdb; pdb.set_trace()
assert laz_gr[
URIRef(g.webroot + '/test_lazarus')
: URIRef('urn:demo:p1')