M
M
Maxim2020-08-27 18:39:17
1C-Bitrix
Maxim, 2020-08-27 18:39:17

How to sort correctly by 1C-Bitrix property?

I created a property with the string type for the
5f47cf4c0b805603426572.png
infoblock: Using the news component, I display a list of questions with a filter, set the sorting by property, I get the list:
5f47d0bb3b1f1090154091.png
and the filter itself:
5f47d1fa00025327586451.png
Changing the property type to a number, I get a list with questions sorted 1,2,3, but at the same time the filter is already in the range from ... to ....
5f47d32acca58055498050.png
How to sort so that the numbers of questions in the list are 1,2,3 and the filter is not in the range, but by number?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2020-08-27
@babarun

How to sort so that the question numbers in the list are 1,2,3 and the filter is not in the range, but by number?

Customize the filter template or a slightly more sophisticated option - start a guide for question numbers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question