Changeset 1624 for trunk/grails-app
- Timestamp:
- Mar 11, 2011, 12:43:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r1623 r1624 1 1 package dbnp.studycapturing 2 2 import org.dbnp.gdt.* 3 4 3 import dbnp.authentication.SecUser 5 4 … … 460 459 order("title", "asc") 461 460 462 } .unique()461 } 463 462 } 464 463 … … 472 471 } 473 472 } 474 } .unique()473 } 475 474 } 476 475 … … 491 490 eq("publicstudy", true) 492 491 } 493 } .unique()492 } 494 493 } else if (user.hasAdminRights()) { 495 494 return c.listDistinct { … … 497 496 firstResult(offset) 498 497 order("title", "asc") 499 } .unique()498 } 500 499 } else { 501 500 return c.listDistinct { … … 515 514 } 516 515 } 517 } .unique()516 } 518 517 } 519 518 }
Note: See TracChangeset
for help on using the changeset viewer.