Commit a5b3dd15 authored by Ujvari Gergely's avatar Ujvari Gergely

Rename area to scope

parent 1bf085ea
......@@ -139,7 +139,7 @@ class Hypothesis extends Annotator
whole_document = true
in_body_text = ''
for searchItem in searchCollection.models
if searchItem.attributes.category is 'area' and
if searchItem.attributes.category is 'scope' and
searchItem.attributes.value is 'sidebar'
whole_document = false
......@@ -247,7 +247,7 @@ class Hypothesis extends Annotator
facetMatches: (callback) =>
if @show_search
return callback ['text','tag','area', 'group','time','user'], {preserveOrder: true}
return callback ['text','tag','scope', 'group','time','user'], {preserveOrder: true}
valueMatches: (facet, searchTerm, callback) ->
switch facet
when 'group' then callback ['Public', 'Private']
......
Markdown is supported
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