Columns data going missing
Columns data going missing
I am sorry - but I cannot reproduce this in stand-alone code, so I cannot create a test case and such things. I can only describe my experience, and if someone has some info for me, I will appreciate it. If not - thanks for reading anyway.
I have custom filters built with multi select dropdowns, as the instance I am using does not have search panes plugin, and it is not feasible to convert all 400+ listings we have to search panes at this time.
The ajax function that retrieves the data for these filters is called for every filter (I have asked the reason why this is the case before, and I believe I was told that it is standard).
Let's say the filters are:
- Status (user filterable)
- City (initially populated through URI to pre-filter by city, but additional cities can be selected/filtered)
- Residence (user filterable)
What happens is this - when the columns are being processed, they are done as follows:
- Status (status arguments are set for the data query)
- City (city arguments are set for the data query, status arguments remain populated)
- Residence (residence arguments are set, status arguments remain populated, but city arguments are now not in the columns)
All of the filters are multiple-select dropdowns, all of them have correctly formed data (correct key : value pairs).
I can't figure out how the "columns" data gets unset occasionally.
I understand this is vague and difficult to visualize, I apologize. I can show with a screen cast what happens if someone is interested in seeing via a Google Meet or something.
Thanks in advance!
Blix
Answers
Hi Blix,
It sounds like an issue in the control logic somewhere. Without being able to trace through the code and debug it, I'm afraid there isn't much help that I can offer. I can only suggest putting a breakpoint in where the city select options are being set and seeing what is calling it.
Allan
I am checking it in my browser console as it happens. There is nothing out of the ordinary. I figured it may be difficult to answer, so thank you for trying anyway :-)