render search result highlights as images and show in pages view
This commit is contained in:
parent
57d3fc0d32
commit
48e6d4af6f
8 changed files with 273 additions and 12 deletions
|
|
@ -1470,6 +1470,17 @@ pandora.getFindLayer = function() {
|
|||
return key
|
||||
};
|
||||
|
||||
pandora.getFulltextQuery = function() {
|
||||
if (pandora.user.ui.findDocuments) {
|
||||
var conditions = pandora.user.ui.findDocuments.conditions.filter(condition => {
|
||||
return condition.key == 'fulltext'
|
||||
})
|
||||
if (conditions.length) {
|
||||
return conditions[0].value
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
pandora.getHash = function(state, callback) {
|
||||
// FIXME: remove this
|
||||
var embedKeys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue