Obsoleted the SibusQL and the keyword pkey (still allowed as a placeholder in the templates)

SVN:trunk[372]
This commit is contained in:
Romain Quetiez
2010-04-29 16:51:56 +00:00
parent f2fd97a434
commit 69a8d27b54
53 changed files with 1171 additions and 2805 deletions

View File

@@ -8,8 +8,8 @@ function UpdateObjectList(sClass, sId, sExtKeyToRemote)
{
aRelatedObjectIds[0] = 0;
}
var sibusql = sClass+": pkey IN {" + aRelatedObjectIds.join(", ") + "}";
$.get("ajax.render.php?filter=" + sibusql + "&style=list&encoding=sibusql",
var oql = "SELECT "+sClass+" AS c WHERE c.id IN (" + aRelatedObjectIds.join(", ") + ")";
$.get("ajax.render.php?filter=" + oql + "&style=list&encoding=oql",
{ operation: "ajax" },
function(data){
$("#related_objects_"+sId).empty();