Browse Source

Merge pull request #596 from dev-z/bugfix/pkey-typecasting-issue

[Bugfix] Fix linking records when tables have a string primary key field
pull/599/head
Pranav C 3 years ago committed by GitHub
parent
commit
8d77dc0160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/nc-gui/components/project/spreadsheet/components/virtualCell/belogsToCell.vue

3
packages/nc-gui/components/project/spreadsheet/components/virtualCell/belogsToCell.vue

@ -311,7 +311,7 @@ export default {
} }
await this.api.update(id, { await this.api.update(id, {
[_cn]: +pid [_cn]: pid
}, { }, {
[_cn]: this.value && this.value[this.parentPrimaryKey] [_cn]: this.value && this.value[this.parentPrimaryKey]
}) })
@ -389,6 +389,7 @@ export default {
* *
* @author Naveen MR <oof1lab@gmail.com> * @author Naveen MR <oof1lab@gmail.com>
* @author Pranav C Balan <pranavxc@gmail.com> * @author Pranav C Balan <pranavxc@gmail.com>
* @author Md Ishtiaque Zafar <ishtiaque.zafar92@gmail.com>
* *
* @license GNU AGPL version 3 or any later version * @license GNU AGPL version 3 or any later version
* *

Loading…
Cancel
Save