         (<! (fetch-missing-documents! state owner))))
     om/IInitState
     (init-state [_]
-      {:sort/key :id
-       :filter-width css/default-right-sidebar-width})
+      {:filter-width css/default-right-sidebar-width})
     om/IRenderState
     (render-state [_ local-state]
       ;; Show all documents with ids found in :dashboard/document-ids

    (go (search/clear-results! state))))

(defn ^:private dashboard-title [state]
  (let [documents (document-ids state)
        page (parse-page state)
        [start end] (pagination/page-range documents page)]
    (cond
     (search/search-query state)
     "Search Results"
    
     true
     "Dashboard ")))

(defn ^:private document-page-count-label [state _ _]
  (om/component
   (html
    (let [documents (document-ids state)
          page (parse-page state)
          [start end] (pagination/page-range documents page)]
      [:span.document-count
       (when (and start end)
         (str "(" start "-" end " of " (count documents) ")"))]))))

(defn dashboard [state owner]
  (reify

     (catch js/Error e nil))
   1))

(def +per-page+ 20)

(defn ^:private page-ids [state]
  (let [page (parse-page state)]
    (take (* +per-page+ page) (document-ids state))))

(defn ^:private fetch-missing-documents!
  "Fetches all missing documents which will be visible in the
