Closed (fixed)
Project:
Views PHP Filter
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2007 at 16:04 UTC
Updated:
2 Jan 2014 at 19:06 UTC
Jump to comment: Most recent
Comments
Comment #1
gnassar commentedThank you for your comments.
1. The filter naming is <module>:<field>. The field being filtered on in the Node module is the ID field. "PHP snippet" would not be appropriate, I think.
2. This would probably make for a really lousy argument :-) nobody should want to embed PHP in a get field; that's just begging for trouble of the hacker kind. And making it a sort criterion wouldn't work either; Node: ID is already a sort criterion. The only way I can think of to do that is to create a temp table for display purposes with an additional PHP-generated field to sort by, and sorting on that secondary field -- read: nightmare.
Comment #2
amitaibuThanks man for the reply. Cheers.