Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2012 at 20:41 UTC
Updated:
5 Feb 2012 at 16:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerIt would be cool if you could proper drupal code style aka spaces here. The rest looks pretty fine
Comment #2
kbalderson commentedPer drupal standards, now using spaces instead of tabs.
I also changed the variable name to more accurately align with the current views nomenclature. (exposed_input instead of filters)
Comment #3
dawehnerNow it would be even cooler if would document the new variable in the function header.
Comment #4
kbalderson commentedDone. Am I cool enough yet?
Comment #5
merlinofchaos commentedThis doesn't really fit alongside views_embed_view and completely changes the function signature for anyone using it now. That is severe API breakage of the kind that is not acceptable in a minor release.
Like views_embed_view, if you want to add exposed filters, you have to take the function apart. It is not a long piece of code, honestly, as most if the if checks are not really necessary for your code.
Comment #6
kbalderson commentedThat's fine. not really knowing the ins and outs of the api, I thought to contribute something that helped me.
Thanks for the input.