Subversion Repositories eFlore/Applications.coel

Rev

Rev 1305 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1305 Rev 1345
Line 36... Line 36...
36
		restrictions.put("start", String.valueOf(pageCourante*nbElements));
36
		restrictions.put("start", String.valueOf(pageCourante*nbElements));
37
		if (nbElements != -1)	{
37
		if (nbElements != -1)	{
38
			restrictions.put("limit", String.valueOf(nbElements));
38
			restrictions.put("limit", String.valueOf(nbElements));
39
		}
39
		}
Line 40... Line 40...
40
		
40
		
Line 41... Line 41...
41
		restrictions.put("orderby", "ccac_id_collection DESC");
41
		restrictions.put("orderby", "cc_nom ASC");
42
		
42
		
43
		final JsonRestRequestBuilder rb = UtilDAO.construireRequete(SERVICE_NOM, parametres, restrictions);
43
		final JsonRestRequestBuilder rb = UtilDAO.construireRequete(SERVICE_NOM, parametres, restrictions);
44
		rb.envoyerRequete(null, new JsonRestRequestCallback() {
44
		rb.envoyerRequete(null, new JsonRestRequestCallback() {