Closed Raruto closed 7 months ago
@Raruto is not an issue. Document tab is related to an expresion value.
request : /api/expression_eval/97/
{
"qgs_layer_id": "buildings_2f43dc1d_6725_42d2_a09b_dd446220104a",
"form_data": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
1252211.1702177,
5433513.77620651
],
[
1252209.74370291,
5433546.11054184
],
[
1252274.88787849,
5433536.60044321
],
[
1252273.93686863,
5433506.16812761
],
[
1252211.1702177,
5433513.77620651
]
]
]
]
},
"properties": {
"fid": "62",
"name": "awrar",
"address": "NULL",
"year": "2017",
"photo": "NULL",
"link": "NULL",
"form": "NULL",
"high": "12",
"volume": "0",
"surface": "1044.46",
"architectural_barriers": "false",
"date_barriers": "2024/03/26",
"safety_exits": "false",
"date_exits": "NULL",
"fire_system": "true",
"date_fire": "2023/06/06",
"type": "Commercial",
"attachment": "true",
"subtype": "B4",
"user": "viewer1",
"description": "<p>sdag nsffgn</p>"
},
"id": "62"
},
"expression": "fire_system = 'Checked'",
"formatter": 1
}
if the result is 1, Document is show otherwise is hide.
@volterra79 I also suspect it's something related to the server cache (or some malformed value after using the editing plugin on that field).
However, as you can see from the images:
Documents to be attached: True
→ the documents tab is missingDocuments to be attached: 1
→ the documents tab is shown
Checklist
Subject of the issue
The documents tab is not always shown within query results:
Steps to reproduce
I don't know if it's related, the first image is result of "Query Layer" and the second of "Query BBOX Layer" map control:
Environment
[g3wsdk.info]
Link to your project
https://v37.g3wsuite.it/en/map/g3w-suite-demo/qdjango/288/
Additional info
No response