mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +02:00
Obsoleted the SibusQL and the keyword pkey (still allowed as a placeholder in the templates)
SVN:trunk[372]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user