/[drupal]/contributions/modules/views/includes/query.inc
ViewVC logotype

Log of /contributions/modules/views/includes/query.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.50.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 2 22:56:44 2009 UTC (3 weeks, 4 days ago) by merlinofchaos
Branch: DRUPAL-6--2
Changes since 1.50: +2 -14 lines
Diff to previous 1.50
Revert #501552 node_access workaround.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 5 22:49:03 2009 UTC (7 weeks, 4 days ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-7, HEAD
Branch point for: DRUPAL-6--2, DRUPAL-7--3
Changes since 1.49: +1 -2 lines
Diff to previous 1.49
Oops, committed debugging message.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 5 22:31:09 2009 UTC (7 weeks, 4 days ago) by merlinofchaos
Branch: MAIN
Changes since 1.48: +9 -2 lines
Diff to previous 1.48
Fix node::term_data relationship which was not relationship safe.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 15 19:29:12 2009 UTC (2 months, 1 week ago) by merlinofchaos
Branch: MAIN
Changes since 1.47: +6 -1 lines
Diff to previous 1.47
#512650 by sdboyer: Multiple many to one arguments on the same relationship were not relationship safe.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 30 19:28:44 2009 UTC (4 months, 4 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46
#460838 by Darren Oh: Make DISTINCT more distinct.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 25 17:50:33 2009 UTC (5 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.45: +14 -2 lines
Diff to previous 1.45
#501552 by neclimdul: Work around a core bug with DISTINCT on nodes.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 2 18:17:06 2009 UTC (5 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-6
Changes since 1.44: +7 -2 lines
Diff to previous 1.44
#317271 by quicksketch: ensure_my_table() limited to one relationship per table.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 1 23:18:08 2009 UTC (5 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
#419270 by voxpelli: set_where_group() could fail if no previous groups.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 1 20:11:46 2009 UTC (5 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.42: +1 -7 lines
Diff to previous 1.42
Remove redundant code

Revision 1.42.2.1
Wed May 20 03:03:38 2009 UTC (6 months, 1 week ago) by merlinofchaos
Branch: DRUPAL-6--3
Changes since 1.42: +1 -1 lines
FILE REMOVED
#293841: Allow different back ends for Views to facilite things like flickr api, solr, rdf, etc.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 24 23:06:24 2009 UTC (8 months ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-4, DRUPAL-6--2-5
Branch point for: DRUPAL-6--3
Changes since 1.41: +21 -7 lines
Diff to previous 1.41
#386986: 2 or more relationships could block a normal table from being added.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 20:13:12 2009 UTC (9 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40
Remove accidental debug message.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 23 22:19:47 2009 UTC (9 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.39: +4 -5 lines
Diff to previous 1.39
#362830: Search was mostly broken, especially score but also searching on multiple terms.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 20 20:37:59 2009 UTC (9 months, 1 week ago) by merlinofchaos
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
#371923 by David_Rothstein: Another DISTINCT fix related to summaries.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 20 20:35:37 2009 UTC (9 months, 1 week ago) by merlinofchaos
Branch: MAIN
Changes since 1.37: +5 -1 lines
Diff to previous 1.37
#378164 by yched: Unexposed taxonomy filter could accidentally stop working.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 22:07:54 2009 UTC (9 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36
#371923 by noahb: Summaries could be distinct even when they should not be.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 23:34:32 2009 UTC (10 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-3
Changes since 1.35: +7 -1 lines
Diff to previous 1.35
#343223 by alienbrain: Ensure path before join.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 19:56:36 2009 UTC (10 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.34: +12 -3 lines
Diff to previous 1.34
#291079 by sammys (reroll by jaydub): Fix use of GROUP BY on pgsql.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 19:53:51 2009 UTC (10 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.33: +7 -2 lines
Diff to previous 1.33
#291292 by sammys (reroll by jaydub): Proper use of DISTINCT on summary views for pgsql.

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 20:16:19 2009 UTC (10 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
#349739: Fix arguments not getting transmitted to attachment displays properly.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:08:10 2008 UTC (13 months ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-2
Changes since 1.31: +8 -1 lines
Diff to previous 1.31
#324513: If a relationship table was added more than 1 hop away from the base, SQL errors resulted.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 19:23:50 2008 UTC (13 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.30: +7 -1 lines
Diff to previous 1.30
#326934: Need another check to make sure already added aliases do not get blown away.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 17:51:39 2008 UTC (13 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.29: +5 -3 lines
Diff to previous 1.29
#325765: Prevent key merge errors on query::add_where and query::add_having.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 18:00:35 2008 UTC (13 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0, DRUPAL-6--2-1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
#319167: add_table() would return TRUE if the table was already added but the expected return is the alias.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 20:07:48 2008 UTC (14 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC2, DRUPAL-6--2-0-RC3, DRUPAL-6--2-0-RC4, DRUPAL-6--2-0-RC5
Changes since 1.27: +1 -5 lines
Diff to previous 1.27
Revert some amount of COUNT query stuff so that db_rewrite_sql does not destroy the query.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 19:32:26 2008 UTC (14 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.26: +6 -5 lines
Diff to previous 1.26
query::add_field() called ensure_table too aggressively and could cause aliases to improperly overwrite already existing tables.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 10 20:15:50 2008 UTC (14 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.25: +29 -4 lines
Diff to previous 1.25
#290132: Optimize count query somewhat.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 22:17:10 2008 UTC (15 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.24: +6 -2 lines
Diff to previous 1.24
Fix for multiple relationships failing

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 14 19:32:20 2008 UTC (15 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.23: +10 -5 lines
Diff to previous 1.23
#282864: Fix collapsing relationships in CCK fields that was returning wrong value and breaking collapse.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 21:55:01 2008 UTC (15 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.22: +3 -12 lines
Diff to previous 1.22
#291079 rollback.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 21:44:26 2008 UTC (15 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.21: +12 -3 lines
Diff to previous 1.21
#291079 by cwoodruf and sammys: PGSQL compatibility with GROUP BY and COUNT/DISTINCT syntax.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 23 23:49:40 2008 UTC (17 months ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC1
Changes since 1.20: +1 -4 lines
Diff to previous 1.20
Remove incorrect phpdoc

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 23 23:24:12 2008 UTC (17 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19
#270861: Don't automatically add order by clauses to the group by if the order by is a formula.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 19 21:43:23 2008 UTC (17 months, 1 week ago) by merlinofchaos
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18
query::add_relationship was adjusting the join for the relationship prematurely; add_table will do that on its own.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 19 20:15:11 2008 UTC (17 months, 1 week ago) by merlinofchaos
Branch: MAIN
Changes since 1.17: +28 -31 lines
Diff to previous 1.17
Fix a problem with relationships that caused the adjust_join to sometimes not be run, thanks to a minor error in the join collapsing code.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 19:46:03 2008 UTC (18 months, 1 week ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-BETA3, DRUPAL-6--2-0-BETA4
Changes since 1.16: +11 -3 lines
Diff to previous 1.16
Fix something I broke with relationships

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 9 18:56:06 2008 UTC (18 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.15: +45 -1 lines
Diff to previous 1.15
#25631 by bjaspan: query optimization primarily for CCK that will combine joins that are identical.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 22 05:34:03 2008 UTC (19 months, 1 week ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-BETA1, DRUPAL-6--2-0-BETA2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
Some updates to comment.views.inc (more to come) plus a fix to the last checkin.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 12 02:47:18 2008 UTC (19 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA5
Changes since 1.13: +5 -4 lines
Diff to previous 1.13
RSS implementation

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 11 08:40:59 2008 UTC (19 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
Some documentation stubs and cleanup.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 10 20:25:21 2008 UTC (19 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.11: +38 -38 lines
Diff to previous 1.11
Rename "primary_table" to "base_table" to remove confusion

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 9 19:41:20 2008 UTC (19 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.10: +8 -3 lines
Diff to previous 1.10
Finally! Taxonomy arguments. That work! Except I left out depth.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 3 17:21:40 2008 UTC (19 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.9: +103 -28 lines
Diff to previous 1.9
#242243: (by John Morahan) support for HAVING in the query object.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 3 00:22:26 2008 UTC (19 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.8: +12 -3 lines
Diff to previous 1.8
Some cleanup, some re-org, some minor fixes.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 31 00:18:45 2008 UTC (19 months, 4 weeks ago) by merlinofchaos
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7
Initial taxonomy implementation. There's still a ways to go -- I totally punted on depth -- and we need a few more argument handlers.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 08:43:08 2008 UTC (20 months, 1 week ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA4
Changes since 1.6: +73 -38 lines
Diff to previous 1.6
New feature: relationships. Connect tables through alternate link points.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 15 00:10:41 2008 UTC (20 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA3
Changes since 1.5: +11 -22 lines
Diff to previous 1.5
Live preview

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 2 23:26:34 2008 UTC (22 months, 3 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA1, DRUPAL-6--2-0-ALPHA2
Changes since 1.4: +14 -14 lines
Diff to previous 1.4
Add basic support for summary styles; they don't quite work yet because view URL knowledge isn't implemented.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 8 22:44:57 2007 UTC (2 years ago) by merlinofchaos
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
#188640 (by Crell): Add default views, and lots of comments, many of which need to be dealt with one way or another.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 23:29:50 2007 UTC (2 years, 3 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.2: +62 -103 lines
Diff to previous 1.2
Checkpoint checkin of Views2. Basic view builder lives.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 12 23:50:08 2007 UTC (2 years, 3 months ago) by merlinofchaos
Branch: MAIN
Changes since 1.1: +23 -6 lines
Diff to previous 1.1
Minor style and documentation update; schema update

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 12 06:52:14 2007 UTC (2 years, 3 months ago) by merlinofchaos
Branch: MAIN
Very early checking for Views 2 for Drupal 6. Currently query.inc looks good and view.inc can at least load and save views, though the schema needs more tweaks.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2