-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
✨ Add search and editing support for Relation Reference
widget (1:N relations)
#631
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g3w-client: g3w-suite/g3w-client@1aa6e50 g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@0042ac1
@volterra79 for search widget, if the field of searching has a ReltionReference QGIS form widget and if a 'Selectbox' or a 'Autocompletyebox' is set fro the search widget, now is possibile set the the use fo RelationReference into the serchign form: And in the client seraching configs into "queryurl": null,
"title": "ricerca per relationreferance",
"results": [],
"filter": [
{
"op": "eq",
"attribute": "gid_padre",
"label": "",
"input": {
"type": "selectfield",
"options": {
"numdigaut": "2",
"relation_reference": true,
"values": [],
"blanktext": ""
}
},
"logicop": "AND"
}
],
"dozoomtoextent": true,
"otherquerylayerids": null,
"layerid": "figlio_9fbf65ac_4c99_4606_9a49_3db065402a37",
"querylayerid": "figlio_9fbf65ac_4c99_4606_9a49_3db065402a37"
}
} |
g3w-client: g3w-suite/g3w-client@dea30bd g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@0dfb160
# Conflicts: # g3w-admin/client/static/client/js/app.min.js # g3w-admin/editing/static/editing/js/plugin.js # g3w-admin/qdjango/tests/data/geodata/qgis_widget_test_data.gpkg
g3w-client: g3w-suite/g3w-client@6bc70f8
Relation Reference
widget (1:N relations)
Relation Reference
widget (1:N relations)Relation Reference
widget (1:N relations)
Relation Reference
widget (1:N relations)Relation Reference
widget (1:N relations)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Parse
RelationReference
settings when uploading QGIS project inside G3W-SUITE and send it to g3w-client for editing and searching actions.For search widget, if the field of searching has a ReltionReference QGIS form widget and if a
'Selectbox'
or a'Autocompletyebox'
is set fro the search widget, now is possibile set the the use fo RelationReference into the serchign form:In client seraching configs into
options
section you'll find the boolean propertyrelation_reference
:Closes: #616