Active
Project:
EntityFieldQuery Extra Fields
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2014 at 20:57 UTC
Updated:
21 Mar 2015 at 18:29 UTC
Jump to comment: Most recent
Comments
Comment #1
mikeytown2 commentedCreated a sandbox for my work
https://drupal.org/sandbox/mikeytown2/2209909
http://drupalcode.org/sandbox/mikeytown2/2209909.git/blob/refs/heads/mas...
Comment #2
mikeytown2 commentedComment #3
nick_vhBefore you do so, this subject has been quite controversial. Can you please explain in more detail what you are trying to do?
Comment #4
mikeytown2 commentedHow has EFQ been controversial?
My sandbox was built off of the apache solr code and after using gotta_download_them_all to see what other modules extend EFQ I discovered this project and seems like the code I've been working on would belong in here.
My sandbox
- renames addExtraField to getFieldValue getting rid of alias and add in a join type; default is LEFT.
- getPropertyValue to get propery values
- allows for filtering on roles
-
->propertyCondition('rid', array(4, 6, 12))-
->propertyCondition('rolename', 'webmaster')- showQuery will output a ready to drop in phpmyadmin query in ['#query']
Going to work on a fake node/user object loader so the fields that get loaded will be in
$node->field[und][0][value]if EFQ is finished by something like executeEntityBuild();Also have a real loader that will use entity_load to load in the full object. Call it executeEntityLoad();
Comment #5
mikeytown2 commentedWork on executeEntityBuild & executeEntityLoad is done. I checked the other modules that extend EFQ and I didn't find much in terms of generic code.
Comment #6
mikeytown2 commentedI've improved the output from executeEntityBuild so that roles and data is show correctly.
Comment #7
fabianx commentedNice work, mikeytown2! As always!
Comment #8
david_garcia commented@mikeytown2 This should be turned into it's own module, incredible work.