LP#1549505: mark the percentile as a float
authorGalen Charlton <gmc@esilibrary.com>
Fri, 26 Feb 2016 21:58:56 +0000 (16:58 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 29 Feb 2016 16:39:42 +0000 (11:39 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/templates/staff/admin/local/rating/edit_badge.tt2

index 06dfb63..184c849 100644 (file)
@@ -303,7 +303,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="Importance Horizon" name="importance_age" reporter:datatype="text"/>
                        <field reporter:label="Importance Interval" name="importance_interval" reporter:datatype="text"/>
                        <field reporter:label="Importance Scale" name="importance_scale" reporter:datatype="text"/>
-                       <field reporter:label="Percentile" name="percentile" reporter:datatype="int"/>
+                       <field reporter:label="Percentile" name="percentile" reporter:datatype="float"/>
                        <field reporter:label="Attribute Filter" name="attr_filter" reporter:datatype="text"/>
                        <field reporter:label="Circ Mod Filter" name="circ_mod_filter" reporter:datatype="link"/>
                        <field reporter:label="Bib Source Filter" name="src_filter" reporter:datatype="link"/>
index 0bdb27c..75e2958 100644 (file)
@@ -19,6 +19,8 @@
                 ng-model="record[field.name]"></input>
             <input ng-if="field.datatype == 'int'" type="number"
                 ng-model="record[field.name]"></input>
+            <input ng-if="field.datatype == 'float'" type="number" step="0.1"
+                ng-model="record[field.name]"></input>
             <span ng-if="field.datatype == 'link'" class="nullable">
             <select ng-if="field.datatype == 'link'"
                 ng-options="item.id as item.name for item in field.linked_values"