import ArticlePageLayout from 'components/ArticlePageLayout';
import { useRouter } from 'next/router';
import Head from 'next/head';
import getConfig from 'next/config';
import { t } from 'ttag';
import querystring from 'querystring';
import AppLayout from 'components/AppLayout';

const {
  publicRuntimeConfig: { PUBLIC_URL },
} = getConfig();

function ReplyListPage() {
  const { query } = useRouter();
  const queryString = querystring.stringify(query);

  return (
    <AppLayout>
      <Head>
        <title>{t`Latest replies`}</title>
        <link
          rel="alternate"
          type="application/rss+xml"
          href={`${PUBLIC_URL}/api/articles/rss2?${queryString}`}
        />
        <link
          rel="alternate"
          type="application/atom+xml"
          href={`${PUBLIC_URL}/api/articles/atom1?${queryString}`}
        />
      </Head>
      <ArticlePageLayout
        title={t`Replies`}
        articleDisplayConfig={{
          isLink: false,
          showLastReply: true,
          showReplyCount: false,
        }}
        defaultOrder="lastRepliedAt"
      />
    </AppLayout>
  );
}

export default ReplyListPage;

@@ -1081,16 +1081,47 @@
 liedAt%22%0A
+        defaultStatus=%22solved%22%0A
       /%3E

Add default status to replies page