Poll Response Sort Order

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/5/2011 8:19:40 PM
Gravatar
Total Posts 2253

Poll Response Sort Order

Hi Joe,

On MySQL with 2.3.7.5 (.net 4) the poll feature always sorts the response options alphabetically, regardless of how they are set in the Poll Editor.

I tested this on MSSQL and it works properly.

Thanks,
Joe D.

12/12/2011 7:31:06 AM
Gravatar
Total Posts 18439

Re: Poll Response Sort Order

Hi Joe,

Thanks for the bug report. This is now foxed in the source code repository for the next release.

The problem was that the person who implemented the poll feature chose to use "Order" as the name of the column and that is a keyword in every database platform, so I had to look up the escape characters for each of the other data leyers in order to ORDER By Order.

In MySql its ORDER BY `Order`, other databases use ORDER BY "Order" or ORDER BY [Order]

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.