[views] fix generated_by handling (closes #3001766) [applied]