Wrong action for exposed filters

jseffel - August 21, 2009 - 10:59
Project:Image Browser
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

If you expose filters in the view the form will redirect you to the start page when you hit the "Submit" button. This patch sets the correct action for the form.

File affected: js/imagebrowser.js

(Sidenote: Why not add the FCK-plugin to the downloadable package?)

AttachmentSize
imagebrowser_js.patch507 bytes

#1

jseffel - August 21, 2009 - 13:42
Status:patch (to be ported)» needs review

#2

Starnox - October 15, 2009 - 23:50
Status:needs review» by design

IBv2 doesn't really support exposed filters, which is why I'm holding off from applying this patch. Discussion about them here: #556920: No filters in 2.x?. We can revisit this once a decision has been made.

#3

scroogie - October 29, 2009 - 19:53

This is wrong anyway, you should set the action through the Views API, not through javascript manipulating the form action.

 
 

Drupal is a registered trademark of Dries Buytaert.