mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-13 09:30:40 +00:00
Fully integrate new query_results model. old one is now deprecated.
This commit is contained in:
@ -120,6 +120,7 @@ RessourceList.dataMapper = {
|
||||
QueryResult: query_result => ({corpus_name: query_result.query_metadata.corpus_name,
|
||||
description: query_result.description,
|
||||
id: query_result.id,
|
||||
"inspect-link": `/query_results/${query_result.id}/inspect`,
|
||||
link: `/query_results/${query_result.id}`,
|
||||
query: query_result.query_metadata.query,
|
||||
title: query_result.title}),
|
||||
@ -261,6 +262,9 @@ RessourceList.options = {
|
||||
<span class="query"></span>
|
||||
</td>
|
||||
<td class="actions right-align">
|
||||
<a class="btn-floating tooltipped waves-effect waves-light inspect-link" data-position="top" data-tooltip="View Results">
|
||||
<i class="material-icons">search</i>
|
||||
</a>
|
||||
<a class="btn-floating tooltipped link waves-effect waves-light" data-position="top" data-tooltip="Go to query result">
|
||||
<i class="material-icons">send</i>
|
||||
</a>
|
||||
@ -271,6 +275,7 @@ RessourceList.options = {
|
||||
"query",
|
||||
"title",
|
||||
{data: ["id"]},
|
||||
{name: "inspect-link", attr: "href"},
|
||||
{name: "link", attr: "href"}]},
|
||||
// Result (imported from corpus analysis) entity blueprint setting html
|
||||
// strucuture per entity per row
|
||||
|
Reference in New Issue
Block a user