Rows not showing in list view after modifying query
I have a weird problem.
I added a scope to my Galaxy model that is applied for the list view. That code looks like the following:
The resulting query, looks like this:
This is all fine, and when I run the query in postgres, it shows the correct rows. But nothing is showing up in the list view (but the list view count is correct).
There are no errors, no console errors, everything looks fine.
Any ideas as to why this might be the case?
2 Replies
Hmmm, just figured out it's got something to do with using the table() method on the list resource. If I remove that entirely, it works fine.
Found the problem. The documentation is incorrect. What you need to do is actually return the query via the parent method call, like so:
Without this, something doesn't work properly.
Hmm, I'm pretty sure the documentation is correct. Can you show your countStructures() method?