nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
143 stars 24 forks source link

fix(Context): do not show hidden columns #1092

Closed blizzz closed 4 months ago

blizzz commented 4 months ago

There are two endpoints for loading the columns of a view. When using that one against a table scope, all columns will be returned, while fetching only those against the direct view endpoint, only those are returned that actually should be displayed. When opening the classic view, the later is called. In Contexts/Applications, the first one was called resulting in empty columns. This changes fixes it.

In the screenshot you see that "Last time spotted" is not shown after the change, as it is supposed to given the View configuration (hence no values are shown before either).

Before After
before after
blizzz commented 4 months ago

/backport to stable0.7