Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7551

In Custom Searche class Base error when no WHERE is used

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviCRM Search
    • Labels:
      None

      Description

      When I create a custom search where CRM_Contact_Form_Search_Custom_Base.php is used, I get an error if I have no WHERE clause. Causesd by function sql in Base, where the word 'WHERE' is always attached to the select clause independent of the contents of $this->where

        Attachments

          Activity

            People

            • Assignee:
              erikhommel Erik Hommel
              Reporter:
              erikhommel Erik Hommel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 10 minutes
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified