I've created a View using my LDAP Query as a source and the view works great -- however, because my LDAP query is selecting all offices (physicaldeliveryofficename in Windows Active Directory) there are duplicate offices returned, as there are multiple users in each office. I was planning on using Views aggregation to apply a DISTINCT to the query, but for some reason that option is not available when selecting LDAP Query as the content source.

I realize that I could theme the output using PHP and strip out the duplicates that way or hide the output from display and do the same thing using PHP in the view's footer, but that doesn't seem like a very elegant solution when a DISTINCT would solve the problem in a much simpler way.

Comments

Saoirse1916 created an issue. See original summary.

larowlan’s picture

Category: Bug report » Feature request
Priority: Major » Normal
grahl’s picture

Status: Active » Postponed

This would be nice but it's not a trivial undertaking, anybody willing to work on a patch?

grahl’s picture

Status: Postponed » Closed (outdated)

Closing issue as outdated due to no further development on 7.x, if you feel this issue is still relevant and you are willing to work on a patch and/or debug the problem, please reopen.