When you call a List (in example /storm/projects) the first time, it do not use the default values set in stormattributes.
I checked the code and you build the query but do not check for default values. The default values will be set in the filter_form after the query is build.

I wrote a patch, which will initialize the default values, when the query is build.
When you approve this patch, i'm willing to write patches for the other components, where this is also happens (at least task and tickets, maybe more didn't looked it up for now)

Comments

kfritsche’s picture

Status: Active » Needs review
StatusFileSize
new4.34 KB

Here my patch.

Status: Needs review » Needs work

The last submitted patch, storm-1038042.patch, failed testing.

kfritsche’s picture

Status: Needs work » Needs review
StatusFileSize
new4.32 KB

My failure... Hopefully this works... (now using the diff command from http://drupal.org/project/storm/cvs-instructions)

juliangb’s picture

Title: default filter for the first time call » Default filters for Storm Project list page
Version: 6.x-2.x-dev » 6.x-1.x-dev
Category: feature » bug

Committed to 2.x, thanks.

Retest for 1.x branch.

juliangb’s picture

StatusFileSize
new4.39 KB

Same patch, but rerolled against 1.x.

juliangb’s picture

Status: Needs review » Fixed

Committed to 1.x.

Status: Fixed » Closed (fixed)

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