comments for clarity of root_eid=0 meaning no entries
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
// this is the list of entry ids for the images for ALL matches for this query
|
||||
var entryList={{query_data.entry_list}}
|
||||
var OPT = {{ OPT.to_dict()|tojson }};
|
||||
// set from query data and stored in OPT for convenience. It can be 0 -
|
||||
// this implies no content in the Path at all
|
||||
OPT.root_eid = {{ query_data.root_eid }};
|
||||
|
||||
// pageList is just those entries shown on this page from the full entryList
|
||||
|
||||
@@ -247,6 +247,8 @@
|
||||
document.viewing=null;
|
||||
|
||||
var OPT = {{ OPT.to_dict()|tojson }};
|
||||
// set from query data and stored in OPT for convenience. It can be 0 -
|
||||
// this implies no content in the Path at all
|
||||
OPT.root_eid = {{ query_data.root_eid }};
|
||||
|
||||
// get items out of query_data into convenience javascript vars...
|
||||
|
||||
Reference in New Issue
Block a user