Download & Extend

Allow exposed form plugins to alter the exposed form

Project:Views
Version:7.x-3.x-dev
Component:exposed filters
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

It can be interesting if exposed forms plugins can alter the exposed form of a view, without implement hook_form_alter()

There are some issues that can take advantages of this feature:

#99370: Add a 'reset' button to exposed filters
#228510: Exposed Sorts
#324092: Expose: Items per page and Offset

AttachmentSizeStatusTest resultOperations
views-exposed-forms-form-alter.patch1.57 KBIgnored: Check issue status.NoneNone

Comments

#1

I forgot to add the validation and submit handlers.

AttachmentSizeStatusTest resultOperations
views-exposed-forms-form-alter.patch3.02 KBIgnored: Check issue status.NoneNone

#2

Version:6.x-3.x-dev» 7.x-3.x-dev
Status:needs review» patch (to be ported)

Committed to 6.x-3.x -- needs to be ported to 7.x which doesn't have the exposed form plugin yet.

#3

Status:patch (to be ported)» needs review

Here is a patch

AttachmentSizeStatusTest resultOperations
views-635966-port.patch2.98 KBIgnored: Check issue status.NoneNone

#4

Status:needs review» patch (to be ported)

This patch cannot work.... i guess

#5

Status:patch (to be ported)» fixed

and commited

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here