MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001469ATutorTests/Surveyspublic2005-03-21 07:312005-07-22 11:43
Reporteruser2 
Assigned Toheidi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.5.1 
Summary0001469: random order
Descriptionshould it actually randomize the questions? it never used to do that (even though it might have suggested that it did.)
TagsNo tags attached.
Affects version
SVN Revision#
Attached Files

- Relationships
has duplicate 0001134closeduser2 not random when all questions chosen 

-  Notes
(0001470)
heidi (developer)
2005-07-22 09:49

to clarify: currently does not randomize the order of questions, but it probably should.
(0001471)
heidi (developer)
2005-07-22 09:58

changed line 169 to say 'ORDER BY RAND()' instead of 'ORDER BY TQA.ordering, TQA.question_id'
(0001472)
heidi (developer)
2005-07-22 10:11

order by rand() is only mysql 4+ so we can't use it

the randomizing should be done in the array not in the sql
(0001473)
heidi (developer)
2005-07-22 11:13

shuffles array of questions

- Issue History
Date Modified Username Field Change
2005-03-21 07:31 user2 New Issue
2005-03-21 07:31 user2 Apache Version => 1.3.x
2005-03-21 07:31 user2 PHP Version => 4.3.2
2005-07-22 05:25 heidi Note Added: 0001456
2005-07-22 06:19 user2 Relationship added has duplicate 0001134
2005-07-22 09:49 heidi Note Added: 0001470
2005-07-22 09:58 heidi Status new => resolved
2005-07-22 09:58 heidi Fixed in Version => 1.5.1
2005-07-22 09:58 heidi Resolution open => fixed
2005-07-22 09:58 heidi Assigned To => heidi
2005-07-22 09:58 heidi Note Added: 0001471
2005-07-22 10:11 heidi Status resolved => feedback
2005-07-22 10:11 heidi Resolution fixed => reopened
2005-07-22 10:11 heidi Note Added: 0001472
2005-07-22 10:12 heidi Note Deleted: 0001456
2005-07-22 11:13 heidi Status feedback => resolved
2005-07-22 11:13 heidi Resolution reopened => fixed
2005-07-22 11:13 heidi Note Added: 0001473
2005-07-22 11:43 user2 Status resolved => closed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker