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

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      15

      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:
                3 years, 48 weeks, 3 days ago