diff --git a/public_html/resources/js/wikidata.js b/public_html/resources/js/wikidata.js
index 6f2e8db..b433a5a 100644
--- a/public_html/resources/js/wikidata.js
+++ b/public_html/resources/js/wikidata.js
@@ -9,8 +9,8 @@ function WikiDataItem ( init_wd , init_raw ) {
// Methods
this.isPlaceholder = function () { return this.placeholder ; }
- this.isItem = function () { return (this.raw||{ns:-1}).ns == 0 ; }
- this.isProperty = function () { return (this.raw||{ns:-1}).ns == 120 ; }
+ this.isItem = function () { return (this.raw||{ns:-1}).ns == 120 ; }
+ this.isProperty = function () { return (this.raw||{ns:-1}).ns == 122 ; }
this.getID = function () { return (this.raw||{}).id ; }
this.getURL = function () {
diff --git a/public_html/resources/vue/typeahead-search.html b/public_html/resources/vue/typeahead-search.html
index d782204..5aec291 100644
--- a/public_html/resources/vue/typeahead-search.html
+++ b/public_html/resources/vue/typeahead-search.html
@@ -118,7 +118,7 @@
$.getJSON ( 'https://www.wikidata.org/w/api.php?callback=?' , {
action:'query',
list:'search',
- srnamespace:(me.type=='property'?120:0), // TODO lexemes'n'stuff
+ srnamespace:(me.type=='property'?122:120), // TODO lexemes'n'stuff
srlimit:(me.limit||10),
srsearch:query,
format:'json'