Skip to content
This repository was archived by the owner on Jun 23, 2021. It is now read-only.

Conversation

@zainengineer
Copy link

@jonpday please review

Copy link

Choose a reason for hiding this comment

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

This query deserves a LIMIT statement to reduce the scope and severity of catastrophically bad data. Something like LIMIT 1000 would provide a decent safeguard, if we can assume this should never return more than 1000 rows.

Copy link
Author

Choose a reason for hiding this comment

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

@parhamr next line ->where("$columnName != ''"); should limit the result.

If in any case it does not we need to investigate it further, as if config has hex value we need it in the category listing.

@stenza
Copy link

stenza commented Nov 24, 2014

Hi,
do you have information, is this work on 1.9?
thankyou

@parhamr
Copy link

parhamr commented Nov 24, 2014

Great outcome in production:

screen shot 2014-11-24 at 2 03 03 pm

(ignore the mistake at 13:55)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants