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

2023.9.x fix layout inline rl #1655

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/web/compose/src/mixins/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default {
const queue = []

// Collect records from all record lines
this.page.blocks.forEach((b, index) => {
this.blocks.forEach((b, index) => {
if (b.kind === 'RecordList' && b.options.editable) {
const p = new Promise((resolve) => {
const recordListUniqueID = [this.page.pageID, (this.record || {}).recordID, b.blockID, false].map(v => v || NoID).join('-')
Expand Down
2 changes: 2 additions & 0 deletions client/web/compose/src/views/Public/Pages/Records/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,8 @@ export default {
},

async determineLayout (pageLayoutID, variables = {}) {
pageLayoutID = pageLayoutID || (this.layout || {}).pageLayoutID

// Clear stored records so they can be refetched with latest values
this.clearRecordSet()
let expressions = {}
Expand Down
Loading