Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L loki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pro
  • loki
  • Issues
  • #21

Closed
Open
Created Aug 18, 2017 by Krzysztof Kutt@kkuttMaintainer

The page is not visible in the results if the query is placed on it

Context: The query is placed on the page xxx. Page xxx contains some semantic data.
Problem: Semantic data physically below the query does not exist for the query.

To reproduce:

  1. Create the page:
~~NOCACHE~~

[[category:querytest| ]]

Title: [[test_title:=Some title]]

Some text

Data:
  * Year: [[test_year:=dzisiaj]]
  * Author: [[test_autor:=Nieznany]]
  * Location: [[test_location:=internet]]
  * Lang: [[test_lang:=english]]
  * Length: [[test_length:=1]]
  * Other page: [[test_other_page::tests:loki-queries:page1]]
  1. Put the query somewhere:
{{#ask: [[category:querytest]] |
?test_title=Title |
?test_year=Year |
?test_lang |
?test_location |
?test_length |
?test_other_page |
default=No results! |
mainlabel=Main label |
intro=Text before results |
outro=Text after results
}}
  1. If the query is placed at the top, the page xxx does not appear in the results. If the query is placed somewhere in the middle of the page, in the results only the annotations above the query appears (as a result if the query is placed at the bottom everything looks fine).
Assignee
Assign to
Time tracking