See DataObjFormatter definition:
<format
name="Locality"
title="Locality"
class="edu.ku.brc.specify.datamodel.Locality"
default="true"
>
<switch single="true">
<fields>
<field>localityName</field>
<field sep="; ">geography.fullName</field>
<field type="bigdecimal" format="%9.2f" sep="; ">latitude1</field>
<field type="bigdecimal" format="%9.2f" sep=", ">longitude1</field>
</fields>
</switch>
</format>
The format attribute on <field /> is ignored by the front-end, but causes the back-end to get confused and output the raw value of the output rather than a formatted output:

Seems to happen here -
|
def pseudo_sprintf(self, format, expr): |
Discovered by @grantfitzsimmons
See DataObjFormatter definition:
The
formatattribute on<field />is ignored by the front-end, but causes the back-end to get confused and output the raw value of the output rather than a formatted output:Seems to happen here -
specify7/specifyweb/stored_queries/format.py
Line 67 in 774d108
Discovered by @grantfitzsimmons