Skip to content
Snippets Groups Projects
Commit 0d6c5f91 authored by Christoph Thelen's avatar Christoph Thelen
Browse files

Added full name of session and creator name to 'my sessions'

parent f01fcd54
No related merge requests found
...@@ -194,6 +194,8 @@ public class CouchDBDao implements IDatabaseDao { ...@@ -194,6 +194,8 @@ public class CouchDBDao implements IDatabaseDao {
d.getJSONObject().getJSONObject("value"), d.getJSONObject().getJSONObject("value"),
Session.class Session.class
); );
session.setCreator(d.getJSONObject().getJSONArray("key").getString(0));
session.setName(d.getJSONObject().getJSONArray("key").getString(1));
session.set_id(d.getId()); session.set_id(d.getId());
result.add(session); result.add(session);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment