             @getMessageRender message, key, isActive
         .toJS()
         nbMessages = parseInt @props.counterMessage, 10
+        filterParams =
+            accountID: @props.accountID
+            mailboxID: @props.mailboxID
+            query:     @props.query
         div className: 'message-list', ref: 'list',
             div className: 'message-list-actions',
                 #MessagesQuickFilter {}
-                MessagesFilter {query: @props.query}
-                MessagesSort {query: @props.query}
+                MessagesFilter filterParams
+                MessagesSort filterParams
             if @props.messages.count() is 0
                 p null, @props.emptyListMessage
             else

    onFilter: (ev) ->
        LayoutActionCreator.filterMessages ev.target.dataset.filter

        @redirect @buildUrl
            direction: 'first'
            action: 'account.mailbox.messages.full'
            parameters: MessageStore.getParams()

MessagesSort = React.createClass
    displayName: 'MessagesSort'

        LayoutActionCreator.sortMessages
            field: field

        params = MessageStore.getParams()
        params.accountID = @props.accountID
        params.mailboxID = @props.mailboxID
        @redirect @buildUrl
            direction: 'first'
            action: 'account.mailbox.messages.full'
            parameters: params
