Skip to content

PostgreSQL - tag popular module error#8242

Merged
wilsonge merged 2 commits intojoomla:stagingfrom
alikon:sqlrand
Nov 5, 2015
Merged

PostgreSQL - tag popular module error#8242
wilsonge merged 2 commits intojoomla:stagingfrom
alikon:sqlrand

Conversation

@alikon
Copy link
Copy Markdown
Contributor

@alikon alikon commented Nov 2, 2015

Steps to reproduce the issue

Set the tag popular module parameter Order to random

Click on Popular Tags item from the fronted left menu All Modules

Actual result

you got a sql error message
popular tags

How to tests

Apply the pacth

Addictional Comments

similar to #8238,#8240
was used RAND() instead of the api $query->Rand()

@zero-24
Copy link
Copy Markdown
Contributor

zero-24 commented Nov 2, 2015

I have tested this item ✅ successfully on 103abed

Works good here on mysql. Thanks.


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

@zero-24 zero-24 changed the title PostgreSQL - tag popular module error PostgreSQL - tag popular module error Nov 2, 2015
@zero-24 zero-24 added this to the Joomla! 3.5.0 milestone Nov 2, 2015
@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Nov 2, 2015

You can't change the parameter value like this. It will break for people who have already saved the existing parameter

@joomla-cms-bot
Copy link
Copy Markdown

This PR has received new commits.

CC: @zero-24


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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ($order_value == 'random' or $order_value == 'rand()') for B/C as @wilsonge posted

@alikon
Copy link
Copy Markdown
Contributor Author

alikon commented Nov 2, 2015

param unchanged now

@waader
Copy link
Copy Markdown
Contributor

waader commented Nov 5, 2015

I have tested this item ✅ successfully on 0c875a5

Thanks alikon!


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

wilsonge added a commit that referenced this pull request Nov 5, 2015
PostgreSQL - tag popular module error
@wilsonge wilsonge merged commit ba3b463 into joomla:staging Nov 5, 2015
@alikon alikon deleted the sqlrand branch November 6, 2015 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants