Files
Facilitor/APPL/ALG/alg_locatie_search_list.asp
Peter Feij b3407df232 PLAT#41505 , maar dan het zoekveld op code/naam als tekst ipv suggest
svn path=/Website/trunk/; revision=34918
2017-08-11 14:07:30 +00:00

42 lines
1.5 KiB
Plaintext

<%@language = "javascript" %>
<% /*
$Revision$
$Id$
File:
Description:
Parameters:
Context:
Note:
*/ %>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_locatie_list.inc" -->
<%
// FORM parameters: de waarde indien aanwezig, anders null
// Vaak is een lege selectie ook een -1, dus dan is-ie wel aanwezig, maar hoeft niet
// als filter te worden toegepast. Dan is null dus gelijk aan -1, qua betekenis,
// Vandaar dat een default van -1 ipv null ook mag
// In eerste instantie identificeren we elk veld gewoon 1-op-1.
var outputmode = getQParamInt("outputmode", 0) // 0 = screen, 1 = print, 2 = excel etc
var showall = getQParamInt("showall", 0) == 1;
var noref = getQParamInt("noref", -1); // (voor onderdrukken horizontale verwijzingen)
var reg_key = getQParamInt("regiokey", -1); // Regio
var dis_key = getQParamInt("districtkey", -1); // District
var loc_key = getQParamInt("locatiekey", -1); // Locatie
var loc_code = getQParam("loc_code", ""); // Locatiecode
var loc_descr = getQParam("loc_descr", ""); // Locatienaam
locatie_list ( "*",
{ outputmode: outputmode,
showall: showall,
reg_key: (reg_key != -1? reg_key : null),
dis_key: (dis_key != -1? dis_key : null),
loc_key: (loc_key != -1? loc_key : null),
loc_code: loc_code,
loc_descr: loc_descr,
noref: (noref != -1? noref : null)
}
);
%>