if you select "Rewrite the output of this field", and then write a string in the text area that appears, deselecting "Rewrite the output of this field" does not turn the feature off, it hides the text box but the field output remains rewritten.
probably just a condition somewhere...

CommentFileSizeAuthor
#1 views-561892.patch902 bytesdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new902 bytes

First, i can reproduce it.

Ha, the fix was incredible easy :)

... Should be work also for 2.x

niklp’s picture

While you're there (it is *sorta* related) - even if the field has no value for that row, the output is still evaluated and written.

ie, I have some rows with a field filled, and some not. If I choose to rewrite the field to '([field_appt_type_value])', it still writes out '()' even when the field has no value. That doesn't make sense to me.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed.

#2: There's a setting to use for the case where the field is empty.

merlinofchaos’s picture

Specifically "Hide if empty".

Status: Fixed » Closed (fixed)

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