Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-38244

Remove DAOParamUtil.getLike() to prevent double % wrapping database queries

    Details

      Description

      For keywords database searching, in the backend we already use CustomSQL.keywords to add %% around terms.
      Using DAOParamUtil.getLike() add %% in the frontend will cause we are searching for %%term%%.

      From now on, we should always add this in the backend to be consistent.

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            shuyang.zhou Shuyang Zhou
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 35 weeks, 5 days ago

                Packages

                Version Package
                6.1.X EE
                6.2.0 CE B1