Default views field options not working

Created on 19 June 2016, almost 9 years ago
Updated 27 July 2023, over 1 year ago

Problem/Motivation

There are default options for views fields, i.e. default settings whether they are opted for filter, sort and sort text. The default settings should be available in views options_form(&$form, &$form_state). Since we can add any fields in views, therefore it is not possible to mention default settings for every one of them. If we don't have the default settings, then message a "Click on an item to edit that item's details." appears on the overlay and the whole page starts giving output in JSON.

Proposed resolution

Currently I am struggling to fix this problem. The table style plugin has something similar to this, i.e. the setting varies as per fields added to views. But I am not able to find how table style plugin does that. May be you can help.

Remaining tasks

Fix the problem.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India subhojit777

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024