1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-05-15 05:30:24 +00:00

Resolve "Higher than and lower than frontend filters are not working with formulas"

This commit is contained in:
Davide Silvestri 2024-01-24 09:46:42 +00:00
parent 59192c94f3
commit 709e895494
9 changed files with 174 additions and 55 deletions
web-frontend/modules/database/components/row

View file

@ -144,8 +144,6 @@ export default {
this.$registry
)
console.log(newRowValues)
this.$store.dispatch('rowModal/updated', {
tableId: this.tableId,
values: newRowValues,

View file

@ -36,7 +36,11 @@ export default {
methods: {
formattedDuration(value) {
const metadata = this.entry.fields_metadata[this.fieldIdentifier]
return DurationFieldType.formatValue(metadata, value)
const durationFieldType = this.$registry.get(
'field',
DurationFieldType.getType()
)
return durationFieldType.formatValue(metadata, value)
},
},
}