Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PostgreSQL] Banners don't work when filtering by meta keywords #26788

Closed
SharkyKZ opened this issue Oct 24, 2019 · 3 comments
Closed

[PostgreSQL] Banners don't work when filtering by meta keywords #26788

SharkyKZ opened this issue Oct 24, 2019 · 3 comments

Comments

@SharkyKZ
Copy link
Contributor

Steps to reproduce the issue

Enter some meta keywords in Global Configuration.
Create a banner, enter same meta keywords.
Publish a banner module and enable filtering by meta keywords.

Expected result

Banner shown.

Actual result

Banner not shown.

System information (as much as possible)

PostgreSQL 11.1

Additional comments

The error set by the model is this:

42601, 7, ERROR: syntax error at or near "REGEXP" LINE 4: ...fix=0 AND cl.own_prefix=0 AND 1) AND (a.metakey REGEXP '[[... ^

Coming from here:

$condition2 = "a.metakey REGEXP '[[:<:]]" . $db->escape($keyword) . "[[:>:]]'";

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/26788

@alikon
Copy link
Contributor

alikon commented Oct 24, 2019

please test #26791


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26788.

@SharkyKZ
Copy link
Contributor Author

Closed as having Pull Request #26791.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26788.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants