Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Issue with queries containing structures #47

Open
Lithodeas opened this issue Jan 26, 2024 · 5 comments
Open

Display Issue with queries containing structures #47

Lithodeas opened this issue Jan 26, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Lithodeas
Copy link

Lithodeas commented Jan 26, 2024

There seems to be a display error when searching CQL queries containing structures due to the Slash Character involved in the query. This was my query:

[lemma="Mücke"] within (<doc/> !containing ([posTT="NE"] [lemma="Mücke"]))

However the structure is missing from the diagram legends and titles, where the query is displayed.
Corpsum_structure_missing_from_query

@hpreki hpreki added the bug Something isn't working label Jan 29, 2024
@clamatte
Copy link

clamatte commented Feb 1, 2024

image
I also discovered this issue, it doesn't display any results for the query neither for the graphs like above
nor for KWIC (here the whole CQL query is written out, but we get no results with 'no data available')
image

(i was unsure if it was a fault in my CQL-code, so i tested it again, if this query works in the NoSke and it does, it gives the expected 44k hits)

@lukas-moertl
Copy link
Collaborator

@Lithodeas It's seems to be a display bug, but the exact query that is shown in the query overview is sent to the server.

I assume that it is due to the being the same shape as a HTML-tag.
Anyway the results should be correct.

@lukas-moertl
Copy link
Collaborator

image I also discovered this issue, it doesn't display any results for the query neither for the graphs like above nor for KWIC (here the whole CQL query is written out, but we get no results with 'no data available') image

(i was unsure if it was a fault in my CQL-code, so i tested it again, if this query works in the NoSke and it does, it gives the expected 44k hits)

You need to select Custom Query in the drop down, otherwise the system will assume it to be a simple search.

@clamatte
Copy link

While the results are correct, the display bug persists where the structures are shown in the Highcharts maps/charts, f.e. the heading or the legend, also in the downloadable files, making them virtually unusable (you would need to manually fix it for each chart)
If possible (I don't know how the query texts are fed into the charts to display), the Highcharts attribute useHTML (which is located within - caption and - legend) set to False could maybe fix that

@ctot-nondef
Copy link
Member

resolved through using custom legend, adjustment in highcharts not flexible enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants