After installing 7.x-2.0-alpha3 and enabling the Views Natural Sort Text Field Support module, I get this error repeated multiple times.

Notice: Undefined index: views_natural_sort_enable_sort in views_natural_sort_text_field_get_configured_fields() (line 97 in views_natural_sort/views_natural_sort_text_field.module).

Comments

FreeFox’s picture

Same for me:

Notice: Undefined index: views_natural_sort_enable_sort in views_natural_sort_text_field_get_configured_fields() (line 97 of .../sites/all/modules/contrib/views_natural_sort/views_natural_sort_text_field.module).
FreeFox’s picture

I tried to find the culprit but couldn't find it yet.

generalredneck’s picture

Status: Active » Needs review
StatusFileSize
new965 bytes

I imagine this would only happen on install and when displaying or editing any fields that haven't been edited yet.

This should take care of it. Let me know if you get the expected results out of it.

FreeFox’s picture

Status: Needs review » Reviewed & tested by the community

Hi generalredneck,

I applied the patch and on first sight it looks fixed. When I see the notice again I will post a new comment.

Thank you very much for fixing this.

generalredneck’s picture

Status: Reviewed & tested by the community » Fixed
ral1239’s picture

Thank you!

Status: Fixed » Closed (fixed)

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