Ticket #5248 (assigned defect (bug))

Opened 1 year ago

Last modified 1 year ago

Missing dot in query.php, category exclusion problem

Reported by: jaroche Assigned to: westi (accepted)
Priority: low Milestone: 2.9
Component: General Version: 2.3
Severity: normal Keywords: query needs-testing has-patch reporter-feedback
Cc:

Description

I found that there's a missing dot when assigns the value to $whichcat in query.php, this interferes with the categories exclusion (generated with $q['category__not_in'] ).

Attachments

query-patch.php (0.7 kB) - added by jaroche on 10/23/07 15:13:49.
query-path.php (0.7 kB) - added by jaroche on 10/23/07 15:31:48.
5248.diff (1.0 kB) - added by westi on 10/23/07 19:38:55.
Patch against trunk

Change History

10/23/07 15:13:49 changed by jaroche

  • attachment query-patch.php added.

10/23/07 15:31:48 changed by jaroche

  • attachment query-path.php added.

10/23/07 19:38:55 changed by westi

  • attachment 5248.diff added.

Patch against trunk

10/23/07 19:39:11 changed by westi

  • keywords changed from query to query needs-testing has-patch.
  • milestone changed from 2.3.1 to 2.4.

I've updated the patch to catch another case of the same issue.

Needs testing though

Pushing to 2.4 as 2.3.1 is nearly out the door.

12/19/07 08:42:36 changed by westi

  • owner changed from anonymous to westi.
  • status changed from new to assigned.

12/19/07 10:10:03 changed by ryan

Concatenation is purposefully left off in some place to avoid creating invalid queries. category_name and categorynot_in might work together but category_name and others will not.

12/20/07 22:07:15 changed by westi

  • keywords changed from query needs-testing has-patch to query needs-testing has-patch reporter-feedback.

Has this been fixed by [6345] as that issue may have caused problems with these query vars?