provide optional export value for special formattings
This commit is contained in:
parent
14cfdb7624
commit
99628fedd5
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2014 Helmut Merz helmutm@cy55.de
|
||||
# Copyright (c) 2016 Helmut Merz helmutm@cy55.de
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -126,6 +126,9 @@ class Field(Component):
|
|||
def getDisplayValue(self, row):
|
||||
return self.getValue(row)
|
||||
|
||||
def getExportValue(self, row, format=None, lang=None):
|
||||
return self.getValue(row)
|
||||
|
||||
def getSortValue(self, row):
|
||||
# TODO: consider 'descending' flag
|
||||
return self.getValue(row)
|
||||
|
|
Loading…
Add table
Reference in a new issue