Permalink
Browse files

field name changed

  • Loading branch information...
1 parent 5cbfec0 commit 4b1eafc2fa738b4fbd8e4f6c683c622472f7cf2f kdeterme committed Dec 7, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 cirb/novac/browser/scripts/novac.js
@@ -295,22 +295,22 @@ function applyDossierFilter(){
}
if(type_dossier != "") cql += "(" + type_dossier + ")";
- var statut_permis = "STATUT_PERMIS IS NULL";
+ var statut_permis = "STATUT_PERMIS_FR IS NULL";
if($('#canceled').is(':checked')){
if(statut_permis != "") statut_permis += " OR ";
- statut_permis += "STATUT_PERMIS = 'ANNULE'";
+ statut_permis += "STATUT_PERMIS_FR = 'Annulé'";
}
if($('#refused').is(':checked')){
if(statut_permis != "") statut_permis += " OR ";
- statut_permis += "STATUT_PERMIS = 'REFUSE'";
+ statut_permis += "STATUT_PERMIS_FR = 'Refusé'";
}
if($('#required').is(':checked')){
if(statut_permis != "") statut_permis += " OR ";
- statut_permis += "STATUT_PERMIS = 'DEMANDE'";
+ statut_permis += "STATUT_PERMIS_FR = 'Demandé'";
}
if($('#granted').is(':checked')){
if(statut_permis != "") statut_permis += " OR ";
- statut_permis += "STATUT_PERMIS = 'OCTROYE'";
+ statut_permis += "STATUT_PERMIS_FR = 'Octroyé'";
}
if(statut_permis != "") {
if(cql != "") cql += " AND ";

0 comments on commit 4b1eafc

Please sign in to comment.