| # | Time | Nick | Message |
|---|
| # | 00:30:38 | tildeequals has joined #evergreen |
| # | 01:21:43 | r123 has quit IRC |
| # | 01:22:37 | r123 has joined #evergreen |
| # | 02:02:51 | finnapz has quit IRC |
| # | 02:06:34 | finnapz has joined #evergreen |
| # | 04:47:14 | Guest26712 is now known as jennam |
| # | 04:47:19 | jennam has joined #evergreen |
| # | 04:57:59 | lisppaste has quit IRC |
| # | 06:35:34 | csharp | lisppaste-- |
| # | 06:46:03 | artunit_ has joined #evergreen |
| # | 06:47:29 | artunit has quit IRC |
| # | 06:47:42 | artunit_ is now known as artunit |
| # | 07:34:30 | sfortin has joined #evergreen |
| # | 08:27:34 | granitize has joined #evergreen |
| # | 08:47:27 | rickd_ has joined #evergreen |
| # | 09:03:23 | dbs has joined #evergreen |
| # | 09:06:49 | Meliss has joined #evergreen |
| # | 09:11:56 | granitize has quit IRC |
| # | 09:12:24 | granitize has joined #evergreen |
| # | 09:19:48 | gdunbar has joined #evergreen |
| # | 09:35:08 | jennam has quit IRC |
| # | 09:39:42 | jennam has joined #evergreen |
| # | 09:40:08 | jennam is now known as Guest32051 |
| # | 09:46:15 | dbwells_ has joined #evergreen |
| # | 09:49:42 | dbwells has quit IRC |
| # | 09:49:42 | dbwells_ is now known as dbwells |
| # | 10:15:23 | mjgiarlo has quit IRC |
| # | 10:16:45 | wizzyrea has quit IRC |
| # | 10:16:48 | _bott_ has quit IRC |
| # | 10:16:54 | mjgiarlo has joined #evergreen |
| # | 10:17:41 | tater has quit IRC |
| # | 10:18:27 | wizzyrea has joined #evergreen |
| # | 10:20:13 | dbwells has quit IRC |
| # | 10:20:14 | dave-esi has quit IRC |
| # | 10:20:16 | sylvar has quit IRC |
| # | 10:20:16 | AaronZ-PLS has quit IRC |
| # | 10:20:18 | denials has quit IRC |
| # | 10:20:18 | csharp has quit IRC |
| # | 10:20:19 | artunit has quit IRC |
| # | 10:20:19 | Callender has quit IRC |
| # | 10:20:20 | _dkyle_ has quit IRC |
| # | 10:20:21 | sfortin has quit IRC |
| # | 10:20:21 | finnapz has quit IRC |
| # | 10:20:22 | phasefx has quit IRC |
| # | 10:20:23 | mrpeters-isl has quit IRC |
| # | 10:20:25 | rsinger has quit IRC |
| # | 10:20:27 | gmcharlt has quit IRC |
| # | 10:20:28 | granitize has quit IRC |
| # | 10:20:28 | dbs has quit IRC |
| # | 10:20:28 | tildeequals has quit IRC |
| # | 10:20:29 | brendan2 has quit IRC |
| # | 10:20:32 | bradl has quit IRC |
| # | 10:20:32 | berick has quit IRC |
| # | 10:20:32 | gdunbar has quit IRC |
| # | 10:20:33 | Dmagick has quit IRC |
| # | 10:20:33 | tsbere has quit IRC |
| # | 10:20:34 | moodaepo has quit IRC |
| # | 10:20:34 | kbeswick has quit IRC |
| # | 10:22:11 | Meliss has quit IRC |
| # | 10:22:12 | eby has quit IRC |
| # | 10:22:12 | shadowspar has quit IRC |
| # | 10:22:13 | wjr has quit IRC |
| # | 10:22:14 | wizzyrea has quit IRC |
| # | 10:22:14 | mjgiarlo has quit IRC |
| # | 10:22:14 | rickd_ has quit IRC |
| # | 10:22:15 | r123 has quit IRC |
| # | 10:22:15 | rangi has quit IRC |
| # | 10:22:15 | eeevil has quit IRC |
| # | 10:22:15 | jeff has quit IRC |
| # | 10:22:17 | leed has quit IRC |
| # | 10:22:19 | pmplett has quit IRC |
| # | 10:27:28 | shadowsp1r has joined #evergreen |
| # | 10:27:28 | shadowspar has joined #evergreen |
| # | 10:27:28 | jeff has joined #evergreen |
| # | 10:27:28 | eeevil has joined #evergreen |
| # | 10:27:28 | rangi has joined #evergreen |
| # | 10:27:28 | leed has joined #evergreen |
| # | 10:27:28 | pmplett has joined #evergreen |
| # | 10:27:28 | eby has joined #evergreen |
| # | 10:27:28 | wjr has joined #evergreen |
| # | 10:27:29 | r123 has joined #evergreen |
| # | 10:27:29 | rickd_ has joined #evergreen |
| # | 10:27:29 | Meliss has joined #evergreen |
| # | 10:27:29 | mjgiarlo has joined #evergreen |
| # | 10:27:29 | wizzyrea has joined #evergreen |
| # | 10:27:29 | _bott_ has joined #evergreen |
| # | 10:27:29 | KingNightWolf has joined #evergreen |
| # | 10:27:29 | dbwells has joined #evergreen |
| # | 10:27:29 | gdunbar has joined #evergreen |
| # | 10:27:29 | granitize has joined #evergreen |
| # | 10:27:29 | dbs has joined #evergreen |
| # | 10:27:29 | sfortin has joined #evergreen |
| # | 10:27:29 | artunit has joined #evergreen |
| # | 10:27:29 | finnapz has joined #evergreen |
| # | 10:27:29 | tildeequals has joined #evergreen |
| # | 10:27:29 | sylvar has joined #evergreen |
| # | 10:27:29 | rsinger has joined #evergreen |
| # | 10:27:29 | AaronZ-PLS has joined #evergreen |
| # | 10:27:29 | dave-esi has joined #evergreen |
| # | 10:27:29 | Dmagick has joined #evergreen |
| # | 10:27:29 | mrpeters-isl has joined #evergreen |
| # | 10:27:29 | Callender has joined #evergreen |
| # | 10:27:29 | kbeswick has joined #evergreen |
| # | 10:27:29 | moodaepo has joined #evergreen |
| # | 10:27:29 | tsbere has joined #evergreen |
| # | 10:27:29 | brendan2 has joined #evergreen |
| # | 10:27:29 | phasefx has joined #evergreen |
| # | 10:27:29 | _dkyle_ has joined #evergreen |
| # | 10:27:29 | gmcharlt has joined #evergreen |
| # | 10:27:29 | bradl has joined #evergreen |
| # | 10:27:29 | berick has joined #evergreen |
| # | 10:27:29 | csharp has joined #evergreen |
| # | 10:27:29 | denials has joined #evergreen |
| # | 10:29:57 | shadowspar has quit IRC |
| # | 10:31:07 | tater has joined #evergreen |
| # | 10:36:51 | shadowsp1r is now known as shadowspar |
| # | 10:50:22 | bshum has joined #evergreen |
| # | 11:25:12 | bshum has quit IRC |
| # | 11:29:30 | mrpeters-isl | hey all, just curious - any reason why the format helpers were removed in the patron registration for 2.0.1? |
| # | 11:39:04 | sfortin has quit IRC |
| # | 11:44:14 | mrpeters-isl | am i correct that the new patron registration interface is register_table.tt2 and register.tt2? |
| # | 11:44:31 | mrpeters-isl | i'm having a bit of trouble tracking down the translations for this page in lang.dtd |
| # | 12:00:44 | KingNightWolf has quit IRC |
| # | 12:02:54 | KingNightWolf has joined #evergreen |
| # | 12:08:07 | tsbere can help mrpeters-isl find the translations. After his burger. <_< |
| # | 12:09:05 | mrpeters-isl | tsbere: no worries man - i found a few good things in there - my fear is that they are linked to the fm_IDL.xml |
| # | 12:09:40 | tsbere | I am not sure that the patron registration areas would pull from the IDL. The reporter, maybe. Unless both are showing the same thing? |
| # | 12:09:43 | mrpeters-isl | i was thinking i could change "Date of Birth" to "Date of Birth (ex. MM/DD/YYYY)" to get my helper back |
| # | 12:10:03 | mrpeters-isl | <tr fmclass='au' fmfield='dob' required='required'/> |
| # | 12:10:10 | mrpeters-isl | in register_table.tt2 is what gives me that hunch |
| # | 12:10:35 | tsbere | Hmmm. Ok, maybe it does. Hmmm. |
| # | 12:10:39 | mrpeters-isl | i tried <!ENTITY staff.au_dob_label "Date of Birth"> - no dice |
| # | 12:10:55 | mrpeters-isl | <!ENTITY staff.patron.ue.dob.label "Date of Birth"> |
| # | 12:11:15 | mrpeters-isl | <!ENTITY ev.staff.patron.ue_xhtml.dob.label "Date of Birth"> - this is the old interface, i think |
| # | 12:12:04 | mrpeters-isl | it wouldnt be as big of a deal if the regex for the dob format didn't change |
| # | 12:12:11 | mrpeters-isl | it used to be YYYY-MM-DD for us |
| # | 12:12:16 | mrpeters-isl | er - currently is, in 1.6 |
| # | 12:16:42 | mrpeters-isl | sure freakin enough |
| # | 12:16:53 | mrpeters-isl | au class in fm_IDL.xml |
| # | 12:17:05 | mrpeters-isl | change Date of Birth to Date of Birth Test and it's updated in the patron registration |
| # | 12:17:19 | mrpeters-isl | ew thats ugly...i dont want to change that to include a helper |
| # | 12:19:35 | tsbere | Hmmm |
| # | 12:19:40 | mrpeters-isl | maybe my best bet is editing the register_table.tt2 to have a helper somehow between the "Date of Birth" string and the input box |
| # | 12:20:17 | mrpeters-isl | but it feels like there is more to the interface than just register_table.tt2 |
| # | 12:21:58 | tsbere | Odd |
| # | 12:22:28 | tsbere | I found a regex for timestamp fields |
| # | 12:22:39 | mrpeters-isl | tsbere: yeah, i think there is one |
| # | 12:22:47 | tsbere | But it wants an entire timestamp |
| # | 12:22:49 | mrpeters-isl | it requires you to use MM/DD/YYYY |
| # | 12:22:53 | mrpeters-isl | oh really? |
| # | 12:23:09 | mrpeters-isl | 1/1/2011 makes it happy here |
| # | 12:23:19 | dbs | mrpeters-isl: that probably depends on your database settings |
| # | 12:23:28 | tsbere | No, the one I found wants YYYY-MM-DDTHH:MM:SS with an optional timezone. I think. Thus, I think I found the wrong one. :P |
| # | 12:23:34 | mrpeters-isl | dbs: hmm that's a thought |
| # | 12:24:36 | dbs | although dojo should be converting the input date to the normal date format - and dojo does locale-specific date formats |
| # | 12:24:55 | mrpeters-isl | nevertheless, being able to configure a helper here would be good |
| # | 12:25:28 | mrpeters-isl | sys admin can set the library setting because he/she would know the databases time format....frontline staff likely wouldnt |
| # | 12:25:31 | mrpeters-isl | and would have to guess |
| # | 12:26:20 | dbs tries registering a patron on trunk and finds the same result as mrpeters-isl |
| # | 12:26:37 | mrpeters-isl | the MM/DD/YYYY, dbs? |
| # | 12:26:41 | dbs | mrpeters-isl: yep |
| # | 12:26:51 | mrpeters-isl | cool - you certainly could be right with the database setting though |
| # | 12:27:12 | dbs | we never use date of birth so that's never been an issue, but it makes me a bit worried about other date entries |
| # | 12:27:13 | mrpeters-isl | i can't say for certain i ever configured anything on this test database for that |
| # | 12:27:29 | mrpeters-isl | dbs: you have the "calendar wiget" for expire date |
| # | 12:27:44 | dbs | this validation is purely at the interface level |
| # | 12:27:59 | tsbere | mrpeters-isl: What locale is your client in? |
| # | 12:28:05 | mrpeters-isl | en-US |
| # | 12:28:21 | mrpeters-isl | expire date also gives 2/11/2011 |
| # | 12:28:23 | dbs | yeah, so it would be dojo's formatting |
| # | 12:28:24 | tsbere | That may be your problem. Looks like dojo is grabbing that locale. Guess what en-US uses? |
| # | 12:28:25 | mrpeters-isl | when using the "widget" |
| # | 12:28:40 | mrpeters-isl | ah interesting |
| # | 12:28:59 | mrpeters-isl | and using that format is ok, i just want to be sure staff have a cue to know what the format is |
| # | 12:29:05 | mrpeters-isl | since it will be a change for us, from YYYY-MM-DD |
| # | 12:29:11 | dbs | mrpeters-isl: so, you have two requests here, right? |
| # | 12:29:26 | dbs | 1) Hook up the dojo calendar widget to "date of birth" field |
| # | 12:29:31 | mrpeters-isl | well, if this is operating as it should - just one - adding a helper |
| # | 12:29:42 | mrpeters-isl | dbs: i was going to try to tackle that myself (#1) |
| # | 12:29:45 | dbs | 2) Provide a hint about the format that's expected if someone were to enter a date via the keyboard |
| # | 12:29:53 | mrpeters-isl | and learn a little about dojo |
| # | 12:30:06 | mrpeters-isl | i'm not sure it makes a ton of sense to have the calendar on DOB since you might have to click back 30 years, you know? |
| # | 12:30:14 | mrpeters-isl | but i figured i'd add it just for kicks since people here like it |
| # | 12:30:23 | mrpeters-isl | #2 is the biggest key though, yes |
| # | 12:30:50 | tsbere found docs for overriding the locale |
| # | 12:30:56 | dbs | mrpeters-isl: the helper widget is useful if you need to adjust the DOB by a day or something like that |
| # | 12:31:00 | mrpeters-isl | and once i learn that, i can add helpers for things like Drivers License, phone format, etc. |
| # | 12:31:04 | tsbere | Thus, the box could be told to do a specific format regardless of locale |
| # | 12:31:07 | mrpeters-isl | dbs: oh true, thats a good point |
| # | 12:32:09 | dbs | tsbere: but why would you do that when the US standard is the bizarro MM/DD/YYYY ? :) |
| # | 12:32:18 | AaronZ-PLS has quit IRC |
| # | 12:32:24 | dbs | Join us in en-CA and enjoy the glorious YYYY-MM-DD! |
| # | 12:32:34 | mrpeters-isl | hehe we tell everyone to pretend they're in the millitary |
| # | 12:32:51 | tsbere | dbs: I prefer YYYY-MM-DD. Even worse here is we have log files that have the weekday abbreviation at the front. <_< |
| # | 12:34:07 | dbs | tsbere: great for sorting events that happened on a given day of the week! :) |
| # | 12:35:07 | tsbere | dbs: Oh, not really. The internal data doesn't have that. Just the outside piece. One of them gets the name at rotate time.......and that server only rotates on sundays. |
| # | 12:35:16 | mrpeters-isl | theres lots of little places in the staff client i think helpers like this are needed - and i'm working on adding them as I go |
| # | 12:35:31 | mrpeters-isl | for example - Library Settings Editor - "Default hold shelf expire interval" - no idea what format this is? |
| # | 12:35:39 | mrpeters-isl | 7 days? 100000 seconds? |
| # | 12:35:53 | tsbere | It may accept both. :P |
| # | 12:36:04 | mrpeters-isl | tsbere: it might! but who knows for sure ;) |
| # | 12:36:14 | mrpeters-isl | thats why adding it to the lang.dtd might be good |
| # | 12:36:41 | mrpeters-isl | that's helpful stuff i think i can contribute |
| # | 12:38:38 | dbs | mrpeters-isl: I believe those descriptions are stored in the database. Check Open-ILS/src/sql/Pg/950.data-seed-values.sql |
| # | 12:39:57 | mrpeters-isl | ok. so the proper thing would be to submit a wishlist to trunk with some updated descriptions in that sql? |
| # | 12:40:41 | dbs | ideally with a patch for that SQL |
| # | 12:40:52 | mrpeters-isl | right thats what i meant - sorry |
| # | 12:41:06 | mrpeters-isl | since this is an "interval" i think almost anything will suffice |
| # | 12:41:53 | mrpeters-isl | 1 day, 1 hour, 1 minute, 1 second and so on |
| # | 12:42:37 | tsbere can't figure out why the expire date has a date helper but not the dob. |
| # | 12:42:50 | mrpeters-isl | you mean the calendar widget? |
| # | 12:42:58 | tsbere | yea. whatever it is. |
| # | 12:43:03 | tsbere is looking at some of the code |
| # | 12:43:08 | mrpeters-isl | thats what made me think i was missing a file somewhere |
| # | 12:43:21 | mrpeters-isl | i was looking at both of the register_*.tt2 files |
| # | 12:43:30 | tsbere | oooooh |
| # | 12:43:35 | tsbere | I think I figured it out |
| # | 12:43:39 | mrpeters-isl | do tell! |
| # | 12:43:46 | tsbere | The expire_date doesn't have anything extra |
| # | 12:43:54 | tsbere | The dob has been told to NOT have one |
| # | 12:44:37 | tsbere | Yea. Commented out two lines, and the dob has one again. |
| # | 12:44:46 | tsbere notes a todo here for adding a setting |
| # | 12:45:25 | tsbere | register.js, digitArgs.popupClass = "" when fmcls == 'au' and fmfield == 'dob' |
| # | 12:45:47 | mrpeters-isl | ah i didnt even think to check the javascript |
| # | 12:46:37 | tsbere | I went for the js first |
| # | 12:46:47 | tsbere has been digging around in the dojo stuff for fallthrough |
| # | 12:50:15 | tsbere | Oh, hey, cool, I found out how to change the date format from the tt2 file. |
| # | 12:50:29 | tsbere | Wasn't hard. <tr fmclass='au' fmfield='dob' wconstraints='{datePattern: "yyyy-MM-dd"}'/> |
| # | 12:50:48 | wizzyrea_ has joined #evergreen |
| # | 12:50:59 | mrpeters-isl | but staff won't know without guessing :P |
| # | 12:51:12 | tsbere | If your staff are already using that format, you may want to keep it. ;) |
| # | 12:51:27 | jamesrf has joined #evergreen |
| # | 12:51:32 | KingNightWolf has quit IRC |
| # | 12:51:34 | wizzyrea has quit IRC |
| # | 12:51:37 | wizzyrea_ is now known as wizzyrea |
| # | 12:53:33 | KingNightWolf has joined #evergreen |
| # | 12:55:12 | mrpeters-isl | tsbere: don't disagree there...but a cue makes it even better! :) |
| # | 12:55:34 | tsbere | I am looking for a way to get dojo to provide it. As in "what am I asking for right now?". |
| # | 12:56:49 | kmlussier has joined #evergreen |
| # | 12:58:16 | mrpeters-isl | tsbere: which register.js were you poking in? |
| # | 12:58:33 | tsbere | the one referenced by register.tt2? |
| # | 12:58:40 | tsbere | (aka, the one for that form) |
| # | 12:59:09 | mrpeters-isl | ok. there was one in "nls" that looked similar |
| # | 12:59:10 | dbs | a terrible way to do it would be to provide "MM/DD/YYYY" as the default value for the widget |
| # | 12:59:27 | mrpeters-isl | dbs: i'm fearing what happens there....since we make that a required field |
| # | 12:59:36 | tsbere | dbs: Especially terrible if your locale specified yyyy-MM-dd |
| # | 12:59:37 | mrpeters-isl | that would eliminate the user having to enter something there |
| # | 12:59:59 | dbs | mrpeters-isl: well, that's probably the only situation where it would be okay, because it wouldn't be valid until a proper date was entered |
| # | 13:00:15 | tsbere | mrpeters-isl: I believe all of these can be given a default value that doesn't count as filled in that has nothing to do with their normal data type |
| # | 13:00:18 | dbs | tsbere: yeah, whatever - adjust, obviously, to your level of local hacks |
| # | 13:00:49 | mrpeters-isl | tsbere: where did you add digitArgs.popupClass = "" when fmcls == 'au' and fmfield == 'dob' |
| # | 13:01:13 | tsbere | mrpeters-isl: I didn't. Look for the digitArgs part in the file. You should find the properly coded if. |
| # | 13:01:31 | dbs | tsbere: placeholder attribute in recent versions of dojo |
| # | 13:02:02 | mrpeters-isl | weird - i have no digitArgs in register.js |
| # | 13:02:19 | mrpeters-isl | and /openils/var/web/js/ui/default/actor/user/register.js is what register.tt2 refers to |
| # | 13:02:38 | tsbere | Oh, that is me being stupid with a typo. dijitArgs. |
| # | 13:02:44 | mrpeters-isl | ah heh |
| # | 13:03:01 | dbs | placeholder still looks valid in 1.3 for dijit.form.DateTextBox |
| # | 13:03:27 | tsbere | dbs: The catch is dynamically picking the right placeholder |
| # | 13:03:51 | dbs | tsbere: you're welcome! |
| # | 13:04:05 | tsbere | alt idea: Only provide the placeholder if a global config option of "datepattern" is available. Then use said pattern as the placeholder! |
| # | 13:04:37 | dbs | yeah, so if dijit offers some reflection you should be able to pull that out |
| # | 13:05:22 | mrpeters-isl | tsbere: so what should the popupClass be? |
| # | 13:05:39 | mrpeters-isl | i'm apparently blind, and not seeing a similiar value for expire date |
| # | 13:05:40 | tsbere | mrpeters-isl: It defaults to the calendar widget. Comment out the two lines to get it back. |
| # | 13:06:13 | mrpeters-isl | hmm i dont think it's commented here |
| # | 13:06:23 | mrpeters-isl | if(fmcls == 'au' && fmfield == 'dob') |
| # | 13:06:24 | mrpeters-isl | dijitArgs.popupClass = ""; |
| # | 13:06:26 | tsbere | ... |
| # | 13:06:35 | mrpeters-isl | or is the // continuing down to that? |
| # | 13:06:59 | tsbere | mrpeters-isl: Those two lines TURN OFF THE CALENDAR WIDGET. If you want it back, remove them. |
| # | 13:07:12 | mrpeters-isl | ah sorry |
| # | 13:07:23 | mrpeters-isl | backwards from what i expected |
| # | 13:07:58 | dbs | "Dojo 1.5 introduces strategies for employing placeholder text within INPUT elements to save you time in adding focus/blur events to accomplish the same functionality" - hmm, perhaps more trickery required in 1.3 then |
| # | 13:11:20 | berick | anyone else lose readline support in psql after upgrading to squeeze? |
| # | 13:11:35 | jeff | berick: yes. readline was removed. |
| # | 13:11:47 | berick | how could they? |
| # | 13:11:52 | berick | think of the children |
| # | 13:12:00 | jeff | berick: they replaced it with libedit |
| # | 13:12:39 | berick | thanks, jeff. now I feel less crazy (and have some reading to do) |
| # | 13:13:04 | jeff | allegedly you can force it by preloading libreadline, but i haven't tested: LD_PRELOAD=/lib/libreadline.so.6 psql |
| # | 13:13:54 | dbs | kudos to bshum for pointing that out a few days back |
| # | 13:14:15 | berick | jeff++ bshum++ works |
| # | 13:18:16 | tsbere | So, placeholder isn't working for me right now. But I can get the date format. |
| # | 13:18:58 | tsbere | Of course, I didn't really expect it to work. I can't find it on most things without a 1.5 ref |
| # | 13:20:18 | AaronZ-PLS has joined #evergreen |
| # | 13:20:31 | lisppaste has joined #evergreen |
| # | 13:23:30 | alynn26 has joined #evergreen |
| # | 13:23:53 | AaronZ-PLS | Anyone have any suggestions on what datasource to use to create a report that (essentially) duplicate the "holds shelf" view? Looking to add Hold Canceled info as well as the patron phone numbers |
| # | 13:25:51 | AaronZ-PLS | We are running 1.6.0.8 and I have been working with the Hold Request datasource (in the reporter), but I cannot get it to ONLY include items which are currently available on the holds shelf |
| # | 13:27:12 | rickd_ has quit IRC |
| # | 13:27:37 | jeff | if you want to include cancelled holds that are on the shelf, you will need to take item status into account. |
| # | 13:28:50 | tsbere | If anyone wants it, here is how I got the date format. No clue where to use it, though. :( |
| # | 13:28:53 | tsbere | var bundle = dojo.date.locale._getGregorianBundle(); var dateFormat = bundle["dateFormat-short"]; |
| # | 13:33:00 | dave-esi has quit IRC |
| # | 13:37:35 | dbs | tsbere++ |
| # | 13:37:50 | tildeequals has quit IRC |
| # | 13:53:02 | dbs | I suppose reporter.simple_rec should strip hyphens out of ISBNs to provide a normalized search target, along with stripping hyphens in O:A:Search:Biblio::find_record_by_isbn |
| # | 13:53:24 | dbs | whee, a reload of materialized simple record :) |
| # | 13:53:35 | jeff grins |
| # | 13:55:35 | mrpeters-isl | how much of a headache would i be getting myself into to add a new payment type? |
| # | 13:55:37 | gmcharlt | jeff: have you had a chance to test the M::F::XML patch? |
| # | 13:55:54 | mrpeters-isl | is it simple, like adding a billing type? |
| # | 13:56:45 | jeff | mrpeters-isl: not that simple, no. can you accomplish what you want by using an existing payment type and a... *cringe* payment note? |
| # | 13:56:55 | mrpeters-isl | jeff: that's what i want! |
| # | 13:57:04 | mrpeters-isl | but apparently it won't fly with state board of accounting |
| # | 13:57:15 | jeff | gmcharlt: getting around to it now. |
| # | 13:57:30 | mrpeters-isl | we need a second "credit card" payment type for those libraries that take a credit card payment externally, not through our "shared" gateway |
| # | 13:57:32 | jeff | mrpeters-isl: i'm glad that only have to deal with our auditors. |
| # | 13:58:04 | jeff | mrpeters-isl: ick |
| # | 13:58:13 | mrpeters-isl | the way i've built my reconciliation reports, if it's a "Credit Card" payment, it will show up in the report - if they were to use that for something that didn't go through our gateawy, we'd show as owing them money that we dont owe them |
| # | 13:58:30 | mrpeters-isl | my solution was to just make them cash payments, but that won't fly either since it will look like they have collected more cash than they should have |
| # | 13:58:46 | jeff | ah, yes. i think that should be addressed by adjusting your reconciliation reports. |
| # | 13:58:54 | mrpeters-isl | jeff: i'm not sure how though |
| # | 13:59:33 | jeff | perhaps an IDL reporting view, raw sql, or post-processing of the existing report based on a field. |
| # | 13:59:34 | mrpeters-isl | really no way to distinguish between a CC payment through our "shared" gateway, and a payment that they take on their credit card machine for stamps or smoething like that |
| # | 14:00:05 | mrpeters-isl | this whole idea is a bit of a mess |
| # | 14:00:14 | jeff | since most of the payments you need to distinguish will be posted in an automated fashion, you can rely on the "note" field to be a little less free-form than if they were manually entered. |
| # | 14:00:20 | mrpeters-isl | right |
| # | 14:00:45 | mrpeters-isl | that's true - i could have my report look at the notes field and give those payments through our gateway a common note |
| # | 14:04:13 | tildeequals has joined #evergreen |
| # | 14:13:31 | ashish_ has joined #evergreen |
| # | 14:18:36 | eeevil pulls arm from outside drain pipe ... |
| # | 14:19:56 | eeevil | re isbns: identifier class facet (currently ignored during facet data gathering for facet-y display) -- all the goodness of normalizers on both ends, AND exact match fun ... just needs UI cooperation |
| # | 14:22:12 | eeevil | longer term, facet defs could be augmented (or cloned) to identify (heh) those with identifier-ish semantics, like ISxN, bib-level call numbers, etc. /those/ types of fields are a good fit for the facet infrastructer, but don't benefit from the facet display machinery (very unique, nearly everything has them) |
| # | 14:24:13 | dbs | eeevil: yeah, I'm looking at making things work in 1.6.1 / 2.0 for now |
| # | 14:25:55 | dbs | eeevil: are you thinking about 2.1/trunk and SVF? |
| # | 14:25:58 | eeevil | dbs: I'd still recommend, for 2.0, an identifier|isbn index def that uses the isbn normalizers, then teach the skin to use that. the isbn search is a house of cards (as you know) |
| # | 14:26:30 | dbs | heh - would that count as a bug fix? |
| # | 14:26:35 | eeevil | ISxN isn't a good match for SVF because you can only use one value from the record |
| # | 14:26:41 | eeevil | dbs: IMO, yes :) |
| # | 14:27:09 | dbs | oh right, sorry, you already mentioned the SVF case! |
| # | 14:27:25 | dbs hopes to be in nimbler mental form next week, maybe |
| # | 14:28:10 | eeevil hopes the plumber doesn't put a lien on the house to fix the pipes ... BOO |
| # | 14:29:33 | dbs | eeevil: ouch |
| # | 14:30:59 | dbs | eeevil: would you be averse to a fixup on reporter.simple_record / reporter.old_super_simple_record / O:A:Search::biblio_search_isbn() as a step towards the better way? |
| # | 14:31:36 | dbs | that way I can get the behaviour working with the least amount of disruption in the shortest term, then move on to the better approach in the slightly longer term |
| # | 14:31:43 | eeevil | dbs: I would not be averse to /someone/ doing it ;) |
| # | 14:32:00 | dbs | heh, okay, I think I'm pretty much there |
| # | 14:33:06 | ashish_ | Hi everyone: I installed opensrf 1.6 on Ubuntu 10.04.2 32 bit. But at the srfsh# request opensrf.math add 2 2 I received a "Received no data from Server" Where did I go wrong? |
| # | 14:36:22 | dbs | ashish_: there's a known bug in ejabberdctl that doesn't escape metacharacters in strings properly. So if you tried to use something like 'pri$vate' as a password in the "ejabberdctl register ..." commands, it would have registered 'pri' as the password |
| # | 14:37:23 | ashish_ | my password is alphabetical without any special chracters |
| # | 14:38:24 | moodaepo | ashish_: Have you run through > http://open-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors |
| # | 14:38:30 | ashish_ | I have followed every step from here: http://www.evergreen-ils.org/dokuwiki/doku.php?id=opensrf:1.6:install |
| # | 14:39:30 | ashish_ | moodaepo: Thanks, let me take a look at that. |
| # | 14:40:20 | moodaepo | Oh you are still installing OpenSRF so some of that page will be of no use right now. But might help if you look at the ejabber/memcacached/opensrf sections |
| # | 14:47:40 | tsbere | mrpeters-isl: Try this? http://mvlc.org/timestamps.patch |
| # | 14:48:14 | pmplett_ has joined #evergreen |
| # | 14:49:10 | Guest32051 has quit IRC |
| # | 14:54:53 | rickd_ has joined #evergreen |
| # | 14:59:50 | dbs has quit IRC |
| # | 15:00:33 | moodaepo has quit IRC |
| # | 15:02:04 | mrpeters-isl | tsbere: on it |
| # | 15:04:45 | mrpeters-isl | hey cool! |
| # | 15:05:07 | mrpeters-isl | i think for my case, however, it needs to read mm/dd/yyyy |
| # | 15:05:32 | mrpeters-isl | well, no i guess it does take it with 01/01/2011 |
| # | 15:05:50 | tsbere | It is literally grabbing the exact format string in use for validation. Changing it to friendly form(s) requires more code ;) |
| # | 15:06:05 | mrpeters-isl | yeah, no this is still good |
| # | 15:06:13 | tsbere | Thus, if the format string for validation is yyyy-MM-dd it will show that instead |
| # | 15:06:19 | mrpeters-isl | is it possible to add a string of text before it to say "Example: M/d/yy |
| # | 15:06:56 | tsbere | Not tested with anything but en-US, though, on my end. And yea, editing the ftd.appendChild line can do that. Probably want it to grab a language string then, though. |
| # | 15:07:20 | mrpeters-isl | that'd be somethhing from lang.dtd right? |
| # | 15:08:16 | tsbere | I think I would add something to Open-ILS/web/js/dojo/openils/actor/nls/register.js |
| # | 15:08:32 | tsbere | Then dig up how to reference those |
| # | 15:08:41 | mrpeters-isl | well, right, but could we use a &somestring; for i18n? |
| # | 15:08:43 | mrpeters-isl | in register.js |
| # | 15:11:23 | tsbere | Ahhh. Seems easy enough. Add "EXAMPLE" : "Example: " to the nls register.js file, then change ftd.appendChild to add localeStrings.EXAMPLE before the bundle. like ftd.appendChild(document.createTextNode(localeStrings.EXAMPLE + bundle["dateFormat-short"])); |
| # | 15:12:02 | tsbere | Note I didn't test that |
| # | 15:15:12 | ashish_ has quit IRC |
| # | 15:16:59 | tsbere | mrpeters-isl: I can also adjust the code to, say, provide a formatted date instead. |
| # | 15:17:05 | tsbere | for the example |
| # | 15:17:25 | tsbere | Might be nicer than the format string |
| # | 15:18:08 | jamesrf_ has joined #evergreen |
| # | 15:19:14 | jamesrf has quit IRC |
| # | 15:19:14 | jamesrf_ is now known as jamesrf |
| # | 15:24:32 | dbs has joined #evergreen |
| # | 15:24:32 | dbs has joined #evergreen |
| # | 15:28:49 | tsbere | mrpeters-isl: Removing the var bundle = line, and replacing the ftd.appendChild line, can allow for actual dates to be provided as examples. |
| # | 15:29:25 | tsbere | for, oh, Jan 31, 1970 you could use ftd.appendChild(document.createTextNode(dojo.date.locale.format(new Date(1970,1,31),{selector: "date", formatLength: "short"}))); |
| # | 15:29:38 | tsbere | Remove the 1970,1,31 to have it default to the current date |
| # | 15:30:01 | tsbere does wish the default for en-US was at least a 4 digit year, though |
| # | 15:38:02 | moodaepo has joined #evergreen |
| # | 15:39:39 | sfortin has joined #evergreen |
| # | 15:41:06 | sfortin has joined #evergreen |
| # | 15:41:23 | kmlussier has quit IRC |
| # | 15:47:12 | sfortin has quit IRC |
| # | 15:58:42 | dbs has quit IRC |
| # | 15:58:50 | Meliss has quit IRC |
| # | 16:05:44 | jamesrf has quit IRC |
| # | 16:07:08 | dbs has joined #evergreen |
| # | 16:07:08 | dbs has joined #evergreen |
| # | 16:17:14 | granitize has left #evergreen |
| # | 16:18:10 | KingNightWolf has quit IRC |
| # | 16:27:03 | gdunbar has quit IRC |
| # | 16:33:51 | dbs | grabbing 0485 |
| # | 16:34:35 | jeff | gmcharlt: sorry for the delay. your changes to MARC::File::XML have resolved the issue that I was experiencing. |
| # | 16:34:46 | gmcharlt | jeff++ # thanks for testing |
| # | 16:34:55 | wizzyrea has left #evergreen |
| # | 16:35:07 | jeff | thanks for the quick fix. i was scratching my head about why some but not all were failing. |
| # | 16:35:46 | jeff | O:W:Exporter uses new_from_xml from a string, while the verification of failed-to-export records I was doing was running up against the issue you just fixed. |
| # | 16:36:22 | jeff | Not all marc:record records failed to export... just the ones with other (invalid / empty tag) issues. |
| # | 16:37:20 | AaronZ-PLS has quit IRC |
| # | 17:10:57 | dbs has quit IRC |
| # | 17:45:31 | jamesrf has joined #evergreen |
| # | 17:47:24 | alynn26 has quit IRC |
| # | 18:02:08 | rickd_ has quit IRC |
| # | 18:41:12 | pmplett_ has quit IRC |
| # | 19:02:24 | tpham has joined #evergreen |
| # | 20:27:16 | jennam has joined #evergreen |
| # | 21:06:25 | jamesrf has quit IRC |
| # | 21:59:27 | tildeequals has quit IRC |
| # | 23:16:00 | KingNightWolf has joined #evergreen |
| # | 23:49:41 | KingNightWolf has quit IRC |