LIST - Sometimes url filter doesn't show anyting (and sometime it works great)

Status
Not open for further replies.

Borox

Member
Hi,

I found a case where the filter used in a URL select the right value in the filter field but the list isn't correctly filtered

Here is a case which is working:

In the url:
?resetfilters=1&emails_site___categorie=informations

In the filter list:
upload_2018-10-19_21-45-18.png->OK

The list:
upload_2018-10-19_21-45-55.png ->OK

Here is a case which is not working ( same list):

In the URL:
?resetfilters=1&emails_site___categorie=adefinir

In the filter list:
upload_2018-10-19_21-48-2.png->OK

The list:
upload_2018-10-19_21-48-29.png->KO

The filter element is correct but the filtering of the list is not.
If I click on the search button the filtering of the list is now OK:
upload_2018-10-19_21-50-58.png

Setup:

The element 'Catégorie' is a databasejoin
upload_2018-10-19_21-53-18.png
Value can take the values 'adefinir', 'information'...
Label can take the values 'A définir', 'Information'...

The difference between a case which is working and one that is not, it's if the Label of the element contains or not a space character.
When Label contains no space, it always works
If both Value and Label have the same value ( both with 'valeur' or with 'nom') it works.

For the moment I'm going to use the same value for Value and Label, but is it a normal behavior?

Thanks
 

Attachments

  • upload_2018-10-19_21-47-50.png
    upload_2018-10-19_21-47-50.png
    1.3 KB · Views: 389
Hi,

I have a pagination issue:

Let's say I display all the table without any filter:

upload_2018-10-26_16-41-9.png

I click, for example, on the 10th page:
upload_2018-10-26_16-42-32.png

Now I apply a filter on the URL:
...?clearorder=1&resetfilters=1&emails_site___categorie_raw=adefinir

upload_2018-10-26_16-43-51.png

'No record' are diplayed, but the number of record is right ( 51) and the filter element is correct:
upload_2018-10-26_16-47-25.png
It seems that it tries to display the 10th page ( the previous page) and it can't because there's only 6 pages

If I click on the search button , the list appears.

Is there a way to 'reset' the pagination to the first page?

Thanks.
 

Attachments

  • upload_2018-10-26_16-40-46.png
    upload_2018-10-26_16-40-46.png
    4.1 KB · Views: 381
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top