It is little weird if no bean type have defined yet but this empty type select appears.

Bean content list (before)

I think we should remove this form and the empty list completely while one bean type is not defined.

Comments

denes.szabo’s picture

Status: Active » Needs review
StatusFileSize
new1.26 KB
new8.71 KB

Attached my patch to solve this problem.
After when this patch applied the page will display like this:

Bean content list page (after)

indytechcook’s picture

Status: Needs review » Fixed

I like the idea but not the implementation. I committed it and changed bean_list to return a render array.

http://drupal.org/commitlog/commit/22232/fca2a75594be221527a76cc8294f565...

denes.szabo’s picture

Your empty list handling solution is better than it was, I agree with you. But, you misunderstood my intention with this patch. I meant, no real meaning of a filter form (with an empty type select) or an empty list if there has no bean type defined yet.

Status: Fixed » Closed (fixed)

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