jeffd
committed
on 16 Feb 05
populate the categories translation cache directly when adding a category rather than forcing a second db query. don't sort when loading lo… Show more
populate the categories translation cache directly when adding a category rather than forcing a second db query.  don't sort when loading locales to array (since ordering not relevant when you array get two lines later).  add divs and class names to category select widget so it's possible to style them with css

Show less

/tcl/evaluation-procs-postgresql.xql (+7 -7)
466 466       <querytext>
467 467
468 468         select content_revision__get_content(:revision_id)
469 469
470 470       </querytext>
471 471 </fullquery>
472 472
473 473 <fullquery name="evaluation::public_answers_to_file_system.select_object_content">     
474 474       <querytext>
475 475
476 476         select lob
477 477         from cr_revisions
478 478         where revision_id = :revision_id
479 479
480 480       </querytext>
481 481 </fullquery>
482 482
483 483 <fullquery name="evaluation::new_grade.get_date">
484 484       <querytext>
485 485                                                                                                                                                            
486           select now
  486         select now()
487 487                                                                                                                                                          
488 488       </querytext>
489 489 </fullquery>
490 490
491 491 <fullquery name="evaluation::new_task.get_date">
492 492       <querytext>
493 493                                                                                                                                                            
494           select now
  494         select now()
495 495                                                                                                                                                            
496 496       </querytext>
497 497 </fullquery>
498 498
499 499 <fullquery name="evaluation::new_evaluation.get_date">
500 500       <querytext>
501 501                                                                                                                                                            
502           select now
  502         select now()
503 503                                                                                                                                                            
504 504       </querytext>
505 505 </fullquery>
506 506
507 507 <fullquery name="evaluation::new_evaluation_group.get_date">
508 508       <querytext>
509 509                                                                                                                                                            
510           select now
  510         select now()
511 511                                                                                                                                                            
512 512       </querytext>
513 513 </fullquery>
514 514
515 515 <fullquery name="evaluation::new_answer.get_date">
516 516       <querytext>
517 517                                                                                                                                                            
518           select now
  518         select now()
519 519                                                                                                                                                            
520 520       </querytext>
521 521 </fullquery>
522 522
523 523 <fullquery name="evaluation::new_grades_sheet.get_date">
524 524       <querytext>
525 525                                                                                                                                                            
526           select now
  526         select now()
527 527                                                                                                                                                            
528 528       </querytext>
529 529 </fullquery>
530 530
531 531 <fullquery name="evaluation::new_solution.get_date">
532 532       <querytext>
533 533                                                                                                                                                            
534           select now
  534         select now()
535 535                                                                                                                                                            
536 536       </querytext>
537 537 </fullquery>
538 538  
539 539 </queryset>