From 6e6b08e7a65b4ebab81e7c19f9c78742a4d25f1c Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 2 Aug 2006 21:25:02 +0000 Subject: [PATCH] db boolean git-svn-id: svn://svn.open-ils.org/ILS/trunk@5234 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/info_notes.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/info_notes.xul b/Open-ILS/xul/staff_client/server/patron/info_notes.xul index effdfd0e3b..f29a575700 100644 --- a/Open-ILS/xul/staff_client/server/patron/info_notes.xul +++ b/Open-ILS/xul/staff_client/server/patron/info_notes.xul @@ -100,7 +100,7 @@ function(n){n.setAttribute("tooltiptext","Note ID: " + g.notes[i].id() + " Creator ID: " + g.notes[i].creator());} ); apply(node,'title',g.notes[i].title()); - apply(node,'pub',g.notes[i].pub() ? "Public" : "Private"); + apply(node,'pub',get_bool(g.notes[i].pub()) ? "Public" : "Private"); apply(node,'value',g.notes[i].value()); apply(node,'id',g.notes[i].id()); apply(node,'creator',g.notes[i].creator()); @@ -145,7 +145,7 @@ note.isnew(1); note.title( g.data.fancy_prompt_data.title ); note.value( g.data.fancy_prompt_data.note ); - note.pub( g.data.fancy_prompt_data.public ? 't' : 'f' ); + note.pub( g.data.fancy_prompt_data.public ? get_db_true() : get_db_false() ); note.usr( g.patron_id ); var r = g.network.simple_request('FM_AUN_CREATE',[ ses(), note ]); if (typeof r.ilsevent != 'undefined') throw(r); -- 2.11.0