Hi, I'm working with the Teamlister addon, which is perfect for my needs but has a small problem I'm trying to fix. The problem is: when removing a record from the grid, the grid refreshes automatically, but the change is not reflected in the grid. The removed record is still there and can still be edited. Only after I edit and save another record, or the already removed record, this removed record disappears from the grid (even if I've just edited it). For my clients this can be very confusing.
I've also asked the developer what could be the problem (
https://github.com/meltingmedia/TeamLister/issues/7), and he says it's probably because I have cache_db enabled (which I have). In this topic I'm really not asking for a specific solution for this component, but I'm trying to get a better understanding of how this works with MODExt and if it's the correct behavior, or if something is wrong with my installation.
I hope someone can explain to me why the updated info (a record is removed) is only retrieved when editing and saving a record and not after removing a record. In both situations (update and remove),
is present in the code. To me the code looks much the same as the Doodle tutorial so I guess it's correct. What exactly triggers retrieving the new data from the DB and in what situations is the db cache cleared? Thanks!