Load VC by default and solely rely on VC.getName() for VC name
Change-Id: I14a7894f44dc390af1718053b681d09fcfb2e481
diff --git a/dev/demo/all.html b/dev/demo/all.html
index e19b474..d959a6b 100644
--- a/dev/demo/all.html
+++ b/dev/demo/all.html
@@ -40,7 +40,7 @@
<div id="vc-view"></div>
in
<input id="show" name="show" type="hidden" />
- <input id="collection-name" name="collection-name" type="hidden">
+ <!--<input id="collection-name" name="collection-name" type="hidden"> -->
<input id="collection" name="collection" type="text" value="">
with <span class="menu select">
<select name="ql" id="ql-field">
diff --git a/dev/demo/alldemo.js b/dev/demo/alldemo.js
index 5a3d3c8..02a6190 100644
--- a/dev/demo/alldemo.js
+++ b/dev/demo/alldemo.js
@@ -765,11 +765,18 @@
KorAP.currentQuery = queryExample;
+/*
+KorAP.koralQuery["collection"] = {
+ "@type" : "koral:docGroupRef",
+ "ref" : "This is my name"
+};
+*/
+
require(['app/en', 'init', 'hint/foundries/cnx'], function (lang) {
KorAP.hintArray = hintArray;
// Set current virtual collection
- KorAP.currentVC = vcExample;
+ // KorAP.currentVC = vcExample;
// Parse and show the table
// Override getMatchInfo API call