I am working with a view where the result needs to be ordered by a calculation field. The calculation field isn't going to be displayed as a field in the view, and the presentation style isn't going to be a table. Here's a first try at a patch to add this feature.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_calc-731698-1.patch | 1.58 KB | jromine |
Comments
Comment #1
jromine commentedPatch for 6.x-1.3 attached.
Comment #2
Steve556 commentedThanks this is exactly what I need. Unfortunately, my view has some complicated relationships (I am trying to add the same field to itself generated from joins from two different content types and then sort it). I get the following error thrown out multiple time:
warning: Invalid argument supplied for foreach() in /home/goodbett/public_html/sites/all/modules/views_calc/theme.inc on line 178.
I am not a developer, I whilst I know some php I can't figure it out.
Comment #3
xandeadx commentedsubscribed
Comment #4
Reox commentedsub
Comment #5
miro_dietikerCommitted this to cvs.
Thank you for this contrib which was a missing part in implementation.