#308 ✓wontfix
blizz

<table> view parameter not working when fieldname is "this"

Reported by blizz | October 21st, 2008 @ 06:41 PM

For example

one can customize the heading like

modestatus-heading:/

If you need to customize the header for the "this" column and we were looking at Project records

then it would be

Project NameProject-heading:/

but does not work.

I'm not sure if this is the best fix for this but if you change line 58 in rapid.dryml where the

tag is defined to:
<td param="#{this_field.to_i.to_s==this_field.to_s ?

this.class.to_s : this_field.sub('?', '').gsub('.', '-')}-view">

Then the parameter works.

Brett

Comments and changes to this ticket

  • Tom Locke

    Tom Locke December 2nd, 2008 @ 10:43 AM

    • State changed from “new” to “wontfix”

    I'm going to call this a "known limitation" of <table>. The whole tag is pretty lame really (see #94).

    Workaround -- use 'name' (or whatever the field is called) instead of 'this' which means you won't get the link. Then add the link back in by customising <name-view:>

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages