 (def pager-id "pager")
 
 ;; FIELDS
-
-(def extra-fields
-  "Extra fields that will be displayed on the table."
-  [{:full-name "_rank" :label "#"
-    :name "_rank" :type "integer"}
-   forms/submission-time-field])
-
-(defn all-fields [form]
+(defn get-extra-fields
+   "Extra fields that will be displayed on the table."
+  [is-filtered-dataview?]
+  (let [extra-field  [{:full-name "_rank" :label "#" :name "_rank" :type "integer"}]
+        extra-fields (if is-filtered-dataview?
+                        extra-field
+                      (conj extra-field forms/submission-time-field))] 
+        extra-fields))
+
+(defn all-fields [form is-filtered-dataview?]
   "Given a (flat-)form, returns fields for table display.
    Puts extra fields in the beginning, metadata at the end of the table,
    and drops fields that have no data (eg. group/note)."
-  (->> (concat extra-fields
+  ;(.log js/console (apply str extra-fields))
+  (->> (concat (get-extra-fields is-filtered-dataview?)
                (forms/non-meta-fields form)
-               (forms/meta-fields form :with-submission-details? true))
+               (forms/meta-fields form :with-submission-details? (not is-filtered-dataview?)))
        (filter forms/has-data?)))
 
 ;; SLICKGRID HELPER FUNCTIONS

            (do ; data has changed
              (.invalidateAllRows grid)
              (.setItems dataview (clj->js new-data) "_id")
              (.render grid))))))))

   "Get a set of slick grid column objects when given a flat form."
  ([form] (flat-form->sg-columns form true))
  ([form get-label?] (flat-form->sg-columns form get-label? nil))
  ([form get-label? language] (flat-form->sg-columns form get-label? language nil))
  ([form get-label? language is-filtered-dataview?]
   (clj->js
    (for [field (all-fields form is-filtered-dataview?)]
      (let [{:keys [name type full-name]} field
            label (if get-label? (get-label field language) name)]
        {:id name :field full-name :type type
