thoka
(Thomas Kalka)
18.Июль.2023 07:59:41
1
Для некоторых категорий и тегов (например, #announcements и new-feature ) я хотел бы иметь представление, где сортировка зависит от даты первого сообщения. Уже есть такая возможность?
Кажется, здесь описан способ:
yoursiteurl/latest?order=created
Также есть категория «Последние», где посты отображаются от самых новых к старым, но вы, вероятно, уже об этом знаете.
2 лайка
thoka
(Thomas Kalka)
18.Июль.2023 08:09:59
3
Отлично. Это также доступно через пользовательский интерфейс?
Насколько мне известно, нет, но, возможно, администраторы смогут это настроить.
Похоже, несколько человек уже спрашивали об этом, вероятно, у участников команды есть ответы.
Try:
https://meta.discourse.org/?tags=docker&order=created_at
Note, closing this … cause I feel like the OP is solved
1 лайк
Canapin
(Coin-coin le Canapin)
18.Июль.2023 08:20:51
5
Насколько мне известно, для добавления этого в каком-либо месте потребуется компонент темы.
Вот список доступных строк запроса:
This guide explains how to use query strings to get custom filtered topic views on any Discourse site. Query strings can be used by all users to view specific lists of topics, create custom links to unique topic lists, and search for topics meeting specific criteria.
Required user level: All users
Query strings are text that you can append to the end of most Discourse URLs to get a custom, filtered view of topics. They can be useful for viewing specific lists…
Для более продвинутой фильтрации существует экспериментальный маршрут /filter:
We have recently introduced an innovative /filter route, enabling more sophisticated filtering of the topics list. Significantly, this marks the initial step towards a unified topic filtering language for both search and filtering. Additionally, the dedicated route for topic list filtering enhances the customizability of the sidebar, as users can now incorporate links as custom section links within the sidebar.
How it works
The /filter has an input field which users can input a query string to …
3 лайка
Для категорий это можно настроить на вкладке «Настройки» в инструменте «Ключ для категорий»:
Хотя для тегов, насколько я понимаю, вы ограничены фильтром по URL.
3 лайка
thoka
(Thomas Kalka)
18.Июль.2023 08:51:38
7
Ах, из-за публикации в федеративной сети первый пост больше нельзя изменить.
Вот моя intended правка:
Для некоторых категорий и тегов (например, #announcements и new-feature ) я хотел бы иметь представление с сортировкой в зависимости от даты первого поста.
Эти решения уже доступны:
This guide explains how to use query strings to get custom filtered topic views on any Discourse site. Query strings can be used by all users to view specific lists of topics, create custom links to unique topic lists, and search for topics meeting specific criteria.
Required user level: All users
Query strings are text that you can append to the end of most Discourse URLs to get a custom, filtered view of topics. They can be useful for viewing specific lists…
We have recently introduced an innovative /filter route, enabling more sophisticated filtering of the topics list. Significantly, this marks the initial step towards a unified topic filtering language for both search and filtering. Additionally, the dedicated route for topic list filtering enhances the customizability of the sidebar, as users can now incorporate links as custom section links within the sidebar.
How it works
The /filter has an input field which users can input a query string to …
Предустановку для сортировки можно настроить через конфигурацию категории:
Как сделать это доступным в качестве «вариантов фильтрации» через интерфейс?
Canapin
(Coin-coin le Canapin)
18.Июль.2023 09:28:13
8
Если ваш вопрос «как сделать это доступным в компоненте темы», я думаю, его стоит задать в Development .
1 лайк