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

Add support for multi fields relations #159

Merged
merged 46 commits into from
Sep 22, 2023
Merged

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 commented Aug 29, 2022

Close: #128

Related to:

Demo project --> project.zip

• father_relation

image

• child_relation

image

• father_relation / child_relation

image

QGIS Configuration ---> 9.3.8. Relations Properties

image

image

@volterra79 volterra79 marked this pull request as draft August 29, 2022 11:58
@volterra79 volterra79 changed the title Add Relation multi fields management Add management relations with multi fields Aug 29, 2022
@volterra79 volterra79 added the feature New feature or request label Aug 30, 2022
@volterra79 volterra79 added this to the v3.8 milestone Aug 30, 2022
@Raruto Raruto changed the title Add management relations with multi fields Add support for M-N relations (polymorphic relations) Jan 12, 2023
@Raruto Raruto changed the title Add support for M-N relations (polymorphic relations) Add support for N-M relations (father-child relations) Jan 12, 2023
src/app/core/relations/relation.js Show resolved Hide resolved
src/app/core/relations/relation.js Show resolved Hide resolved
src/app/core/relations/relation.js Outdated Show resolved Hide resolved
src/app/core/relations/relations.js Outdated Show resolved Hide resolved
src/app/core/relations/relations.js Outdated Show resolved Hide resolved
@volterra79 volterra79 modified the milestones: v3.8, v3.9 Mar 13, 2023
# Conflicts:
#	src/app/core/editing/editor.js
#	src/app/core/layers/layer.js
@volterra79 volterra79 self-assigned this Sep 11, 2023
@volterra79 volterra79 marked this pull request as ready for review September 12, 2023 13:13
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 12, 2023
…on father field is pk and in case of relation related to new father feature need to chanche temporary id __new__ provide by client with new id provide by server on child features relation relation field
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 13, 2023
…attribute to Array for back compatibility for projects before v3.7.0
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 14, 2023
@Raruto Raruto changed the title Add support for N-M relations (father-child relations) Add support for multi fields relations Sep 22, 2023
@Raruto
Copy link
Collaborator

Raruto commented Sep 22, 2023

Tested with: editing-multi-fields.qgs

@volterra79 volterra79 merged commit 25f4777 into dev Sep 22, 2023
@volterra79 volterra79 deleted the relations_multi_fields branch September 22, 2023 13:26
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 22, 2023
wlorenzetti added a commit to g3w-suite/g3w-admin that referenced this pull request Oct 13, 2023
* Add 'hasCustomPrefix' property to vectorjoin.

* Add 'editable' property, so serialization of vector join.

* Add property `vectorjoin_id` to REST API /vector/api/config/.

* Fix test.

* Add 'prefix' and convert 'editable' to boolean type.

* Typo.

* Fix 'editable' property for fields in QGIS join.

* Set 'editable' to False if join field is a Pk.

* Fix test editing fi QGIS Join

* For documentation.

* ✨ Client:
   core: g3w-suite/g3w-client#483
   editing: g3w-suite/g3w-client-plugin-editing#52

* ✨ Client:
    client:  - g3w-suite/g3w-client#483
             - g3w-suite/g3w-client#159
    editing: - g3w-suite/g3w-client-plugin-editing#52
             - g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
    client:  - g3w-suite/g3w-client#483
             - g3w-suite/g3w-client#159
    editing: - g3w-suite/g3w-client-plugin-editing#52
             - g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
    editing: - g3w-suite/g3w-client-plugin-editing@96c9b40
    editing: - g3w-suite/g3w-client-plugin-editing@16f4c9f
    editing: - g3w-suite/g3w-client-plugin-editing@b7a6bb7

* ✨ Client:
    g3w-client: - g3w-suite/g3w-client@5b2e3fa

* ✨ Client:
    g3w-client-plugin-editing: -g3w-suite/g3w-client-plugin-editing@cd65314

* ✨ Client:
    g3w-client:g3w-suite/g3w-client@f557542
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@8aef6a4

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add management of multi fields relation
2 participants