Changeset 1913 for trunk/grails-app
- Timestamp:
- Jun 6, 2011, 2:47:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/query/AdvancedQueryController.groovy
r1908 r1913 494 494 495 495 if( !s.url ) 496 s.url = g.createLink( controller: "advancedQuery", action: "show", id: id );496 s.url = g.createLink( controller: "advancedQuery", action: "show", id: id, absolute: true ); 497 497 498 498 session.queries[ id ] = s; … … 656 656 def paramString = s.filterResults(selectedTokens).collect { "tokens=" + it.giveUUID() }.join( "&" ) 657 657 658 if( baseUrl.find( /\?/ ) ) 659 baseUrl += "&" 658 def url = baseUrl; 659 660 if( url.find( /\?/ ) ) 661 url += "&" 660 662 else 661 baseUrl += "?"663 url += "?" 662 664 663 baseUrl += "entity=" + s.entity 664 665 def url = baseUrl; 665 paramString += "&entity=" + s.entity 666 666 667 667 actions << [
Note: See TracChangeset
for help on using the changeset viewer.