106 common bookmarks
This commit is contained in:
@@ -71,7 +71,8 @@
|
||||
from bookmark b
|
||||
/*left outer join contragent k on (b.contragent_id=k.contragent_id)*/
|
||||
where 1=1 <m:filter_build filter=#filter#/>
|
||||
AND (b.contragent_id = <cfqueryparam cfsqltype="cf_sql_integer" value=#arguments.contragentId# null=#!isNumeric(arguments.contragentId)#/>)
|
||||
AND (b.contragent_id = <cfqueryparam cfsqltype="cf_sql_integer" value=#arguments.contragentId# null=#!isNumeric(arguments.contragentId)#/>
|
||||
OR b.contragent_id=-1)/*общая букмарка*/
|
||||
order by sort desc
|
||||
<!--- <m:order_build sortCollection=#this.helper.parseNumericOrder(local.titleMap, arguments.orderBy)# fieldCount=0/>--->
|
||||
limit #maxrows#
|
||||
|
||||
Reference in New Issue
Block a user