I create a view with table with filtering and sorting enabled. I’ve done this many times and have never encountered the following symptom. When I click on a header to sort, or enter a string to filter a column, the table completely disappears. Usually, you would expect no change to the table or “No results.” below the table headers. The table completely disappears. I’ve combed my controller action and search function and cannot determine what might be causing this phenomenon. The view paints fine, has some menus to process via _POST, and all that works fine. It’s just the sorting or filtering functions that cause the table to disappear. Any ideas why?
How do I enable logs? I don’t receive any visible errors in the view.
Also I tried my view with IE, FF and Chrome on both Solaris and Linux. When I sort or filter a column in my view on Solaris, Chrome and FF work correctly, but on IE, the entire table (including the headers and filter boxes) disappears. When I sort or filter a column in my view on Linux, Chrome and FF report No Results under the table headers and the table disappears on IE (all three are incorrect).
FYI: Nothing showed up in either log, but a peer suggested that I add the statement below to views/layouts/main.php and it fixed the problem. It was an obscure IE incompatibility that had not reared it’s ugly head in any other of the dozens of views we have. This view has a relatively simple query and layout, so it’s a mystery what the incompatibility was, but this is what I added to main.php to solve the issue of the disappearing table: