                 :order (trim order)
                 :followed show-followed-only}
        :handler (fn [data]
-                  (swap! state assoc :all-issuer-applications (:applications data) )
-                  (all-connections state))})))
+                  (swap! state assoc :all-issuer-applications (:applications data)
+                                     :show-favourite-issuers false)
+                  (get-favourites state))})))
 
 (defn fetch-badge-adverts [state]
   (let [{:keys [user-id country-selected name recipient-name issuer-name order tags show-followed-only]} @state]

      [:button.issuer-button {:class (str "btn form-control btn-active")
                              :id "btn-all"
                              :on-click #(do
                                           (m/modal! [open-issuer-modal state] {:size :md :shown (fn [] (init-issuer-applications state)) }))} (str @issuer-name)]]]))

    (subs text 1)
    text))

(defn create-favourite-list [favourites all]
 (sort-by :issuer_content_name (distinct-by :issuer_content_id (filter (fn [app] (some #(= (:id %) (:issuer_content_id app)) favourites)) all))))

(defn get-favourites [state]
  (ajax/GET
    (path-for (str "/obpv1/social/connections_issuer"))
    {:handler (fn [data]
                (swap! state assoc :favourites (create-favourite-list data (:all-applications @state)))
                )}))

(defn init-issuer-applications [state]
