Views 3, Output as Link, returned URL is without any value from the weight field.

Comments

davisben’s picture

Could you provide a little more info about what you're trying to accomplish?

dkre’s picture

Sure, sorry.

I've found a workaround but originally I was trying to use the node's weight field as a replacement pattern in views. (Views > Fields > [field] > Rewrite Result > Output this field as a link)

Views displays the Weight field as a valid replacement pattern [weight], but when used the URL doesn't show the weight value.

ie: ?page=[weight] returns: ?page=

davisben’s picture

Version: 7.x-2.0-rc2 » 7.x-2.x-dev
Category: bug » feature

Got it. The weight field is currently setup as a form element. I'll add another field that will display the weight, without any of the form stuff.

davisben’s picture

Status: Active » Fixed

I added a new Weight value field, and updated the help text to be more descriptive for the Weight field.

dkre’s picture

Nice work mate.

I didn't think weight was a valid field but given Views had it available as a replacement pattern I thought it must have been.

Cheers

Status: Fixed » Closed (fixed)

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