2011-07-01T00:25:23 *** brian_f has quit IRC 2011-07-01T05:49:42 *** natschil has joined #evergreen 2011-07-01T05:59:50 *** bjwebb has joined #evergreen 2011-07-01T05:59:50 *** bjwebb has joined #evergreen 2011-07-01T07:12:16 *** collum has joined #evergreen 2011-07-01T07:53:23 okay, for the logs... the Browse Holds Shelf interface was not allowing me (and a PINES library director) to select anything in the dropdown menus - they were greyed out (this is EG 1.6.1.8 here) 2011-07-01T07:55:01 however, when I logged into another staff client profile (created by adding the -profilemanager flag to the end of the Target field in the icon that invokes the staff client), I am able to use the dropdown menus just fine 2011-07-01T07:55:44 so without knowing the specific reason this is not working, we have narrowed it down to something not working in the staff client profile (workaround is to create a new profile) 2011-07-01T07:58:25 *** kmlussier has joined #evergreen 2011-07-01T08:16:28 *** Dyrcona has joined #evergreen 2011-07-01T08:22:48 *** mrpeters-isl has joined #evergreen 2011-07-01T08:51:20 csharp: sounds, at first blush, like cached, pre-upgraded-autogen.sh versions of the org units or types. phasefx, does the SC cache aou and aout data, or do you recall if it ever has (say, in 1.4)? 2011-07-01T08:58:48 eeevil: To my knowledge the SC currently wipes the entire cache on startup, thus caching nothing from run to run. In the past, dunno. 2011-07-01T08:58:51 *** jenny has joined #evergreen 2011-07-01T08:58:57 *** Callender has quit IRC 2011-07-01T08:59:05 Although if there are, say, preferences that can effect that interface........ 2011-07-01T08:59:33 *** Callender has joined #evergreen 2011-07-01T09:03:58 eeevil: I believe these are staff client profiles that were inherited from 1.4 (that was my working theory - something from 1.4 conflicting with 1.6) 2011-07-01T09:04:59 csharp: I would recommend comparing the prefs.js from both profiles, personally 2011-07-01T09:06:19 although there are a pile of binary files I have found issues with in the past for mozilla projects in general. 2011-07-01T09:07:03 *** Meliss has joined #evergreen 2011-07-01T09:21:00 *** adbowling-isl has joined #evergreen 2011-07-01T09:22:12 tsbere: I'll do that 2011-07-01T09:27:59 *** StephenGWills has joined #evergreen 2011-07-01T09:31:56 *** Sally has joined #evergreen 2011-07-01T09:32:51 csharp: looks like the lib menu in that interface re-uses a local file, offline_ou_list. That's supposed to be re-generated with every login 2011-07-01T09:33:20 phasefx: thanks for the clue 2011-07-01T09:34:34 it may be that the os is only allowing file creation and not updates, or something. All sorts of way to screw the client with permissions 2011-07-01T09:36:20 * csharp installs cygwin to make life easier 2011-07-01T09:36:43 cygwin with X is cool 2011-07-01T09:36:56 * Dyrcona thinks csharp is misguided in his reason for installing cygwin. 2011-07-01T09:37:02 trippy running something like KDE on top of windows 2011-07-01T09:37:04 ha! 2011-07-01T09:37:24 cygwin will only complicate your permissions issues, been there, done that, have the scare to prove it. 2011-07-01T09:37:36 ^scare^scars 2011-07-01T09:37:42 but scare works, too. :) 2011-07-01T09:38:02 Dyrcona: okay - I've been warned - thanks :-D 2011-07-01T09:38:14 Example: it's possible to create files in Cygwin that no one in the host OS owns. 2011-07-01T09:38:15 * phasefx uses to build the staff client with cygwin, but thinks it'd be too painful now 2011-07-01T09:38:19 s/uses/used/ 2011-07-01T09:39:06 you can't delete the files, not even as administrator, with some ownership legerdemain. 2011-07-01T09:39:15 ^with^without 2011-07-01T09:39:29 * Dyrcona stops typing for a bit. 2011-07-01T09:39:41 Dyrcona++ 2011-07-01T09:40:07 sharing_war_stories++ 2011-07-01T09:40:52 i have an epicly stupid war story from last night 2011-07-01T09:41:23 note to self...don't wire electronics in your car to you're damn dimmer power...FAIL the next morning! 2011-07-01T09:42:42 heh 2011-07-01T09:42:58 it was good last night in the dark :) 2011-07-01T09:54:14 berick++ 2011-07-01T09:54:34 no obvious clues from prefs.js and the offline_ou_list appears to be the same (no actual diff yet - visual inspection) 2011-07-01T09:55:20 if you login with the old profile, still broken then? 2011-07-01T09:56:43 phasefx: yes - greyed out 2011-07-01T09:59:02 csharp: to disable or not disable will be coming from the true/false values in offline_ou_list 2011-07-01T09:59:18 phasefx: ah - lemme check that 2011-07-01T10:01:12 phasefx: so in ""ARL Athens Regional Library System",6,true,2", that "true" is what is controling whether it shows up? 2011-07-01T10:01:39 *** yboston has joined #evergreen 2011-07-01T10:01:46 csharp: true = disable menu entry in this case 2011-07-01T10:02:04 huh 2011-07-01T10:06:12 well in the case of this issue, the menu itself is greyed out - I can't access the entries at all (I can see the greyed-out entries that the offline_ou_list file controls) 2011-07-01T10:06:23 (when it's working 2011-07-01T10:06:24 ) 2011-07-01T10:06:51 sorry that was confusing... I cannot access the menu at all when this issue is present 2011-07-01T10:07:08 in an unaffected profile, the menu works as expected 2011-07-01T10:07:09 there. 2011-07-01T10:07:18 do you see a checkbox next to the menu? 2011-07-01T10:08:46 phasefx: no checkbox 2011-07-01T10:11:25 csharp: I think you found a bug. Try loading a bib record, doing Actions for this Record -> View Holds, make sure the checkbox is checked there, then browse hold shelf 2011-07-01T10:12:12 *** KN2W has joined #evergreen 2011-07-01T10:14:37 how do I compare the same file across two branches in git? 2011-07-01T10:15:30 git diff -- , maybe? 2011-07-01T10:16:34 csharp: see commit d126dddc7c055aa07ffb4dd6db4b0e207cc800d4 2011-07-01T10:16:53 tsbere++ 2011-07-01T10:17:59 * phasefx certainly doesn't remember that bug. Not only is the entirety of EG too big to fit into my brain, so is all the work I've done on it :-/ 2011-07-01T10:19:34 phasefx: For the record, I think you can skip branch 1 if you want to compare to, say, your checked out branch, and the -- means "treat anything after this point as a file, don't try and find something like a refspec or option" 2011-07-01T10:20:13 that appears true too 2011-07-01T10:21:17 * tsbere never knows when things he does on a regular basis don't work in some other version of git 2011-07-01T10:21:42 oh, gosh, I tried using lenny's version a while back. painful 2011-07-01T10:24:52 * csharp seeks a way to find that commit... 2011-07-01T10:28:21 phasefx: the checkbox fixed it - thanks for that 2011-07-01T10:29:03 * csharp will begin fleshing out our nascent testing checklist soon for 2.0+ 2011-07-01T10:29:27 been too frickin' busy to think about that for months 2011-07-01T10:30:48 *** StephenGWills has quit IRC 2011-07-01T10:39:15 csharp: In a local git you can find a commit with "git show " and can figure out what branch(es) contain it with "git branch --contains ". Maybe with a -r for "what *remote* branches contain it". 2011-07-01T10:42:03 there's also a search in the git.evergreen-ils.org web interface, but it hasn't worked for me yet 2011-07-01T10:42:21 it works...sometimes haha 2011-07-01T10:43:41 In that case I would just go with http://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h= for seeing the commit. As for finding what branches contain it, though............ 2011-07-01T10:49:58 phasefx: Other fun stuff include git log and git whatchanged with a branch name and/or -- . Makes it easy to read commits from another branch, or that touched a given file, or that touched a given file in another branch ;) 2011-07-01T10:51:13 git log --reverse master.. is one of my favorites 2011-07-01T10:52:44 phasefx: tsbere: thanks - I can see it now 2011-07-01T10:52:52 I use the "add a filename" variant to see what commits touched a given file between "someone says it worked" and "now it is broken" 2011-07-01T10:53:07 * csharp hasn't been keeping local EG git so far... 2011-07-01T10:53:24 you must!!! 2011-07-01T10:53:45 how are you keeping track of local customizatinos? 2011-07-01T10:53:58 phasefx: Of course, I also use git log/whatchanged/diff with remote branches as often as local branches. So, say, git log origin/master or git diff origin/master ;) 2011-07-01T10:54:39 mrpeters-isl: For starters, by defining customizatinos as something that doesn't need to be tracked? ;) 2011-07-01T10:55:41 just don't profile them 2011-07-01T11:00:39 *** gmcharlt_ has joined #evergreen 2011-07-01T11:07:12 *** gmcharlt has left #evergreen 2011-07-01T11:14:27 * Dyrcona just created git://git.mvlcstaff.org/jason/oils_pm.git if anyone is interested. 2011-07-01T11:15:32 *** youdonotexist has joined #evergreen 2011-07-01T11:16:32 *** adbowling-isl has quit IRC 2011-07-01T11:19:46 grabbing 0570 2011-07-01T11:32:09 mrpeters-isl: I've been keeping a local git of our customizations, but as separate files/patches 2011-07-01T11:32:25 s/local/github/ 2011-07-01T11:32:30 got it :) you were scaring me if you weren't doing anything hehe 2011-07-01T11:32:43 mrpeters-isl: really depends on what you mean by customizations. 2011-07-01T11:32:49 heh - yeah, we learned that the hard way 2011-07-01T11:33:22 Dyrcona: like, for example, tracking customizations, and subsequent changes to legacy circ scripts 2011-07-01T11:33:24 we keep ours in git, too, but most of them end up in master eventually. 2011-07-01T11:33:41 for PINES, customizations = "anything that differs from a vanilla install" 2011-07-01T11:34:04 we also keep branches for confiurations: like oils_sip.xml, marc templates, etc. 2011-07-01T11:34:05 yeah, i just have a 2.0.4 tarball checked in and anything we change gets comitted to that 2011-07-01T11:34:24 we keep a separate branch for each customization. 2011-07-01T11:34:30 interesting 2011-07-01T11:34:45 workforms branch for marc templates, sipdemo for sip configuration, etc... 2011-07-01T11:35:07 have offline_duedate branch for some tweaks to the due date menu in the offline client. 2011-07-01T11:35:40 We keep one branch for the entirety of our opac customizations. But I keep some things split into different commits, even across rebases. 2011-07-01T11:35:43 I'll paste a list of just my branches. 2011-07-01T11:36:02 Some of it I expect to be reverting/removing in the future 2011-07-01T11:36:10 different ways to do it, i guess 2011-07-01T11:37:26 Our more significant things (changing how features work, adding new ones, etc) do eventually tend to make it into master, though ;) 2011-07-01T11:37:35 http://paste.lisp.org/display/123073 2011-07-01T11:38:15 * tsbere has a lot more.....in part because he hasn't cleaned up his list of local branches lately 2011-07-01T11:38:31 yeah, i deleted some obsolete branches this morning, in fact. 2011-07-01T11:39:06 * csharp will reconsider our git usage based on all these ideas 2011-07-01T11:39:10 I have a small pile of "merged into master now" branches I should consider deleting 2011-07-01T11:39:26 we also keep our custom programs in their own git repos. 2011-07-01T11:39:39 We need to do a lot more of that. 2011-07-01T11:40:19 for ones we're sharing with the world, check out: http://git.mvlcstaff.org/ 2011-07-01T11:41:17 though most of what is up there are copies of repos from git.evergreen-ils.org with some local branches of WIP stuff thrown in. 2011-07-01T11:41:36 * tsbere has to clean out some of his WIP branches too 2011-07-01T11:47:22 also grabbing 0571 2011-07-01T11:48:27 most PINES customizations are conservative: "return this feature to the way it worked before the upgrade" and the like 2011-07-01T11:49:12 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:53:50 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:54:39 Dyrcona: heh 2011-07-01T11:55:36 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:56:11 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:56:29 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:57:24 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:57:25 our members are excited thought that they can have things with Evergreen that they've never had before. 2011-07-01T11:57:53 sometimes they seem a bit impatient to get it, too. 2011-07-01T11:58:04 so our changes tend to be less conservative. 2011-07-01T11:58:13 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T11:58:25 Some have complained about not being able to see and/or export pin codes though. At least one of our members was exporting barcode and pin combos to avoid paying for a SIP module. 2011-07-01T11:58:27 I think we're really starting to snowball 2011-07-01T11:59:29 * phasefx can think of some evil kludges for PIN's.. but won't 2011-07-01T12:00:08 yeah, that's one thing our previous ILS did that they want in Evergreen: stored the patron password/PIN in plain text. 2011-07-01T12:00:17 we won't do it, though. 2011-07-01T12:00:17 what we need is more mechanisms for auth 2011-07-01T12:01:12 just wait until we're requiring 3 passwords, a captcha, and a thumb-print 2011-07-01T12:01:43 * phasefx has seen some MMO games requiring mixed entry of passwords using mouse and keyboard to foil key loggers 2011-07-01T12:02:05 Which works wonderfully until you note that many keyloggers also log mouse movement ;) 2011-07-01T12:02:17 * Dyrcona prefers public/private key pairs. 2011-07-01T12:02:35 tsbere: yeah, it's a race.. one on-screen keyboard randomized the layout 2011-07-01T12:02:44 tsbere: so the logger would need to screen capture too 2011-07-01T12:03:08 * tsbere has seen loggers that do that. Capture the screen as of each mouse click, or just plain stream everything over the net in real time. 2011-07-01T12:03:40 security is only as good as the dummy at the keyboard, whether user or admin. 2011-07-01T12:03:58 then you have the whole authenticator stuff for your ipad, etc. fobs 2011-07-01T12:04:14 * Dyrcona pines for the days when user didn't have a silent 'l' in front of it. 2011-07-01T12:04:53 I did have a habit of foiling someone who used hardware keyloggers by virtue of showing up with my own USB keyboard. 2011-07-01T12:05:56 * tsbere still doesn't know what was so important that they felt the need to manually modify all the keyboards in the place to have a hardware keylogger inside of them 2011-07-01T12:06:07 I recall Sylvar was discussing storing passwords in plain text in light of the French law. 2011-07-01T12:06:28 Funny thing about that law: it probably contradicts several other French laws on privacy. 2011-07-01T12:06:45 Oh well. 2011-07-01T12:06:52 * tsbere runs off to do some errands 2011-07-01T12:10:40 how wedded are folks to the Record ID, Record Owner, and Created By fields in the staff/xul Record Summary pane? 2011-07-01T12:13:26 * Dyrcona scans the room for catalogers. 2011-07-01T12:15:31 have a customer wanting to move TCN, remove the fields I mentioned, and add fields for the Number of Holds, Number of Copies, and the date a callnumber was first added to the record 2011-07-01T12:15:47 is that customer us? 2011-07-01T12:15:53 just curious. 2011-07-01T12:15:58 KCLS 2011-07-01T12:16:08 ok, not us. :) 2011-07-01T12:16:23 phasefx: PINES catalogers will revolt if you change that in core Evergreen 2011-07-01T12:16:36 now, the interface is done with a xul overlay, and I can selectively load overlays dynamically, say based on YAOUS 2011-07-01T12:16:44 csharp: it's already changed from 1.6, alas 2011-07-01T12:17:12 overlays are good. YAOUS: i'm ambivalent, but if its needed. 2011-07-01T12:17:14 * csharp expects Vancouver-style protests 2011-07-01T12:17:44 * Dyrcona chuckles.... and thinks mean thoughts. 2011-07-01T12:17:46 in general, the display is much improved, I think 2011-07-01T12:18:02 phasefx: we'll learn soon 2011-07-01T12:18:17 oh, also flexing the column for the title/author/bib call # to make use of all the space 2011-07-01T12:18:27 once I'm out of the snowstorm of catch-up documentation work, we will have a 2.0 cluster up 2011-07-01T12:19:14 another option.. I define layout with CSS 2011-07-01T12:19:23 phasefx: We've had requests to add # of holds there and to remove some fields, but I can't remember which ones. 2011-07-01T12:19:27 and you can hide/un-hide fields that way as well 2011-07-01T12:19:56 * phasefx doesn't have much experience with positional CSS, and say, div's, though 2011-07-01T12:20:30 I think I'll pursue the CSS route 2011-07-01T12:20:52 that way those who no like can use cat_custom.css 2011-07-01T12:31:32 user_configurable_interfaces++ 2011-07-01T12:32:18 "user" = "administrator of an Evergreen instance" in this case ;-) 2011-07-01T12:37:50 *** brian_f has joined #evergreen 2011-07-01T12:49:32 *** RBecker|Laptop has joined #evergreen 2011-07-01T12:53:24 *** RBecker|Laptop has quit IRC 2011-07-01T12:54:24 *** RBecker|Laptop has joined #evergreen 2011-07-01T13:01:05 heh. haven't really used OILS.pm, yet, except in a test program and I've already made 4 commits to it. 2011-07-01T13:10:43 phasefx: our library would definitely not want to see the 'Record ID' display go away. We are trying to wean people from TCN as much as possible. 2011-07-01T13:13:53 dbwells: are you aware of the use-id-for-tcn setting? 2011-07-01T13:18:07 *** RBecker|Laptop has quit IRC 2011-07-01T13:18:52 *** RBecker|Laptop has joined #evergreen 2011-07-01T13:18:57 I'll err on the side of showing more information than less, and KCLS can be the one to use custom CSS to hide things 2011-07-01T13:25:57 berick: yes. It's always seemed like a bad idea to me, but I've yet to find the time to bring it up for discussion. For our needs, TCN == ID from a foreign system, usually the system where the record originated (e.g. OCLC num, SFX ID, UMich ID, etc.). It is very often useful in that context (for syncs/overlays, particularly of subscription content), and making it a simple mirror of... 2011-07-01T13:25:59 ...record ID would never work for us (well, without changing a lot of things, anyway). In fact, I think if we started referring to the TCN as the 'Foreign TCN', the world would be a better, less confusing place. 2011-07-01T13:27:50 (maybe not that term exactly, but that idea) 2011-07-01T13:29:07 oh, so wean people from using TCN as a local identifier, but keep it around as a source/foreign ID 2011-07-01T13:29:35 that makes sense, i thought you were trying to move to a TCN-free world, in which case use-id-as-tcn works pretty good 2011-07-01T13:36:47 berick: yes, exactly. Sorry for the extended response to your simple question :) It was a little pent-up, and I do appreciate your input and advise. 2011-07-01T13:36:59 understood :) 2011-07-01T13:38:19 dbwells: does the maintain-035 stuff help? 2011-07-01T13:40:26 * Dyrcona notes that the use of local id as tcn can be disabled. 2011-07-01T13:40:40 or at least it could be, last time I checked. 2011-07-01T13:41:29 eeevil: Yes, in some contexts. It is just not nearly as handy as a dedicated field. 2011-07-01T13:44:43 dbwells: well, until we wrap more logic around the 035 ;) 2011-07-01T13:44:48 * eeevil out for now 2011-07-01T13:47:03 Dyrcona: yes, we have it disabled. 2011-07-01T13:48:42 I am actually a bit surprised to see that the default is 'enabled.' What is the benefit of having two fields which forcibly contain the same value? 2011-07-01T13:50:21 i've seen it suggested in some MARC documentation. 2011-07-01T13:50:57 plus, it fixes some issues with junky data, since TCNs have to be unique (more or less) in EG. 2011-07-01T13:51:08 other than that, not much. 2011-07-01T13:51:37 moving the 001 to 035 is what I've seen suggested, if it wasn't clear. 2011-07-01T14:03:21 I think it is correct for the 001 to match the Record ID. In my ideal world, 001 = 'Record ID' (unique, local), first 035 = 'TCN' (generally unique but not guaranteed, foreign). When working within your own records, use ID, when you need to coordinate with another system, use TCN. This workflow is currently possible in EG, but as stated above, I do believe that making this distinction... 2011-07-01T14:03:22 ...more explicit (i.e. narrow the definition of TCN to 'Foreign TCN') would help all around, and seems better than neutering the field by default. 2011-07-01T14:11:33 gmcharlt: I'll give that version of MARC::Charset that you posted yesterday a test next week. I've got a pile of records to export and I think the vendor wants MARC8. 2011-07-01T14:17:21 Dyrcona++ 2011-07-01T14:18:23 I see it is the same as what is on CPAN, so I'll just upgrade via CPAN. 2011-07-01T14:34:24 Is OpenILS::Utils::Fieldmapper supposed to import the default fm_IDL.xml when it is loaded, because that looks like what it is doing? 2011-07-01T14:37:40 dbwells: you got my vote re: Foreign TCN 2011-07-01T14:38:25 dbwells: +1/-1 2011-07-01T14:38:42 or, to explain, there isn't necessarily just *one* foreign TCN that might be of interest 2011-07-01T14:39:15 so while referring to bre.tcn_value as "foreign TCN" would be an improvement over the status quo from my POV 2011-07-01T14:39:49 ripping it out entirely (and perhaps replacing it with with a biblio.record_identifiers table if need be) would be better 2011-07-01T14:40:04 gmcharlt_: you got my vote re: ripping it out 2011-07-01T14:40:44 phasefx: hey, you can't vote twice! :) 2011-07-01T14:41:02 -= THIS MESSAGE NOT LOGGED =- 2011-07-01T14:41:20 * phasefx readies his wallet 2011-07-01T14:41:43 one 2011-07-01T14:41:46 million 2011-07-01T14:41:49 simoleans! 2011-07-01T14:41:57 note -- don't process 739 offline transactions, 3 months old, and then fail to tell your helpdesk for 3 days. you'll create yourself a big mess! 2011-07-01T14:42:29 * mrpeters-isl feels sorry for all of the patrons who got notices that items they returned months ago are now suddenly "lost" 2011-07-01T14:42:44 feature request: sanity check date range indicator on incoming xacts 2011-07-01T14:42:52 YES!!!!!!! 2011-07-01T14:42:57 i was just typing the same thing 2011-07-01T14:43:23 dates in this session are 3/19 through 3/25 2011-07-01T14:43:49 gmcharlt_: you are absolutely correct, long term. Short term, changing the meaning of the existing field buys us a lot, I think. A single foreign TCN covers all of our current needs. 2011-07-01T14:43:58 would also be nice if the offline interface could tell you "there are x transactions awaiting processing" or something to check sanity 2011-07-01T14:44:05 by our, I mean my library's 2011-07-01T14:45:26 i think they got misled by the fact that it said "1" workstation so they thought everything was fine. i would think the massive exception list would be a clue though... 2011-07-01T14:45:48 mrpeters-isl: we once had a library process about 10,000 (resulted in this bug report: https://bugs.launchpad.net/evergreen/+bug/543381) 2011-07-01T14:46:07 yikes!! 2011-07-01T14:47:17 they were dumping the pending_xacts file into excel and manually deleting and forgot to do so one morning ;-) 2011-07-01T14:47:39 ugh 2011-07-01T14:47:45 we had no idea til they reported the mistake 2011-07-01T14:47:52 same ere 2011-07-01T14:48:11 its creating some small chaos because all otherl ibraries are potentially impacted 2011-07-01T14:48:14 via transits 2011-07-01T14:48:20 right same with us 2011-07-01T14:49:08 * tsbere went against his own rule for today and answered a ticket 2011-07-01T14:49:13 out of curiosity, what sort of munging were they doing with excel? 2011-07-01T14:51:52 I assume they were saying "well, these are the ones we did today" type idiocy, rather than letting the client figure it out for them ;) 2011-07-01T14:52:12 * tsbere got that impression when it came up a while back 2011-07-01T14:52:25 phasefx: I think it was the manually exported file, come to think of it, and they would deleted all xacts older than X date 2011-07-01T14:52:40 I had to tell them about the pending xacts file 2011-07-01T14:52:58 * csharp fights with terrible net connection 2011-07-01T14:54:02 a more interactive way of processing exceptions would be nice.. especially a way to mark an exception as "handled" 2011-07-01T15:01:21 *** RBecker|Laptop has quit IRC 2011-07-01T15:05:27 *** Lmp has joined #evergreen 2011-07-01T15:05:56 Hi, how may I delete volumes associated to a record? I'm running 2.1-RC1 2011-07-01T15:07:55 Dyrcona: Way too many responses flying back and forth on that ticket. 2011-07-01T15:08:24 yes, and I think you meant to send that in a private conversation maybe? 2011-07-01T15:08:30 Lmp: from the record view, Actions for this Record -> Holdings Maintenance, select the volumes, Actions for Selected Rows -> Delete Volumes 2011-07-01T15:09:06 ok, thanks! 2011-07-01T15:09:16 the volumes must be empty, though in 2.2 you'll be able to delete any items in the same step 2011-07-01T15:09:49 * Dyrcona is looking forward to the panicked phone calls from cataloguers. 2011-07-01T15:10:24 yes, that's exactly the problem I faced. There is "Add Volumes" from the record's page but not "Delete Volumes" and I was trying to find that since I wanted to deleted a record 2011-07-01T15:10:38 *delete 2011-07-01T15:12:46 is there anything I could contribute to towards that next release? or any other release in particular? 2011-07-01T15:13:57 Lmp: I don't follow. You want to be able to delete volumes without going to Holdings Maintenance? 2011-07-01T15:14:35 * Dyrcona chuckles. 2011-07-01T15:15:02 Of all the parameter changes that I was given for today, being the start of the new fiscal year, I only had to actually change 1 thing. 2011-07-01T15:15:03 the Add Volumes action in the Record Summary and in the Actions for this Record menu are just for convenience. For a Delete Volumes action, you need to specify which volumes to delete, and that's easily done in Holdings Maintenance 2011-07-01T15:16:20 phasefx: I meant that if I click on "Actions for this record" from this particular record's page, I could only see "Add Volumes", not "Delete Volumes". Now, that I am aware that this is done through Holdings Maintenance, everything is clear :) 2011-07-01T15:16:50 Alles klaar, Herr Commissar? 2011-07-01T15:17:17 ja, alles in Ordnung! 2011-07-01T15:17:23 Lmp: cool deal 2011-07-01T15:27:26 tsbere: stop looking at tickets. you're not working today. 2011-07-01T15:27:30 :) 2011-07-01T15:27:46 apparently CSS isn't very good at grids 2011-07-01T15:28:46 * phasefx could make an A/T template for the bib summary 2011-07-01T15:29:17 Dyrcona: I focused on the one ticket I was directly involved with wednesday. I am ignoring every other ticket in the system. :P 2011-07-01T15:29:37 though for the pain involved, maybe I'm better with dynamic overlays, and custom.js if you want to inject a specific overlay 2011-07-01T15:30:17 *** Lmp has quit IRC 2011-07-01T15:30:23 an apache variable and a SSI to specify the overlay is another option 2011-07-01T15:31:14 phasefx: What is the goal? Too lazy to go back and find it in the scrollback ;) 2011-07-01T15:31:56 tsbere: the Record Summary pane in the staff client, different folks want it to look different. So I want to make it customizable, but in ways other than directly hacking the stock xul 2011-07-01T15:32:21 Ahhhh. I think I saw some of that when skimming earlier. 2011-07-01T15:32:30 could just use the same infrastructure as conify/etc., with oils_web.xml 2011-07-01T15:32:48 then you could specify a local template directory with your customizations 2011-07-01T15:33:07 Which won't help if two people on the same system want different data 2011-07-01T15:33:31 well, that'd be gravy since it's not customizable per lib now 2011-07-01T15:33:43 without chicanery to serve different sets of xul files 2011-07-01T15:34:21 so I'm okay with a global look 2011-07-01T15:34:39 A thought: Instead of hard-coding even part of it, why not swing the other way entirely and make it 100% dynamically assembled? Workstation or user level preferences could then contain a list of fields to show. 2011-07-01T15:35:08 thought about it 2011-07-01T15:35:46 the fields are shown in a grid, with related fields kind of grouped together 2011-07-01T15:36:40 not sure I want a UI for re-arranging UI, and if I'm not going to do that, may as well take advantage of markup 2011-07-01T15:36:55 Well, one option is to go the way I did with hotkeys 2011-07-01T15:37:16 Plain text defines options, then all you need is a menu somewhere to pick which named one to use 2011-07-01T15:37:37 tsbere: I got Giselle's latest question. 2011-07-01T15:38:22 so let's say the grid is like this A B C (top row) / D E F (middle) / G H I (bottom). And in A we have the bib title. How do we instead best put the bib title someplace else and put something else in A if we want to? 2011-07-01T15:38:26 *** kmlussier has quit IRC 2011-07-01T15:39:18 phasefx: I would define the file as "each line is a row" and "each row is a space delimited set of fields to show in that row" 2011-07-01T15:39:41 I could put all data in each cell, and then a combination of cell specific and data specific css classes can be used to hide/unhide 2011-07-01T15:39:45 Thus, A B C would be line 1, D E F would be line 2. The value for A may be "title" 2011-07-01T15:40:33 Assembling would be something like "Loop over the text file. Each block you add the label and value cells. Each new line you add a new row." 2011-07-01T15:40:40 .A .title { display: inline; } 2011-07-01T15:41:12 phasefx: That idea would, to me, be a horrible, horrible way of doing that. 2011-07-01T15:41:24 Better to add table cells with code, IMO 2011-07-01T15:41:57 Also, as a side benefit in my version, you can have more than the current 4 across just by defining, say, 5 across. 2011-07-01T15:42:06 tsbere: well, the code already accomodates duplicate data if needed. basically anything with name="title" would get the title data injected into it 2011-07-01T15:42:22 * tsbere is now tempted to implement his idea, just for kicks 2011-07-01T15:42:41 * phasefx grins, "I need to talk this stuff out in public more often, let others do it for me 2011-07-01T15:43:00 so where would the data generated the table live? 2011-07-01T15:43:13 s/generated/generating/ 2011-07-01T15:44:15 phasefx: Two options. Three if you include a hardcoded default. 2011-07-01T15:44:23 1 - In a user/workstation pref string 2011-07-01T15:44:36 2 - In an actual file (referred to by a user/workstation pref string) 2011-07-01T15:45:33 I am partial to 2, as that would allow library staff to easy maintain additional ones without having to log in as every user using them (tis also how I did hotkeys) 2011-07-01T15:48:34 alright, I'm won over. If anyone is terrified of the idea, speak up :) 2011-07-01T15:50:04 phasefx: The question is now "who writes it?" ;) 2011-07-01T15:50:38 * tsbere hasn't even figured out where the file is yet, but also has been doing things like reading email. And a book. 2011-07-01T15:51:28 * phasefx is going to work on it 2011-07-01T15:51:53 Feel free to steal the "load the list of sets" code I wrote for hotkeys, then. 2011-07-01T15:52:04 tsbere++ 2011-07-01T15:56:14 will have to rework a part of the alternate item details view, which specifies part of the layout for inserting the item call number, and then is overlaid by bib_brief 2011-07-01T16:00:08 *** Meliss has quit IRC 2011-07-01T16:01:16 * Dyrcona is alone in the office, again. 2011-07-01T16:03:52 *** collum has quit IRC 2011-07-01T16:28:21 *** KN2W has quit IRC 2011-07-01T16:33:27 *** jenny has left #evergreen 2011-07-01T17:00:51 http://paste.lisp.org/display/123088 2011-07-01T17:01:06 I am trying to turn the above query into JSON, and I'm stuck. 2011-07-01T17:02:20 I thought if I used acn as the "main" table, I could easily join acp and bre, but then I don't know how to write it so that ascecm and asce join to acp and each other properly. 2011-07-01T17:02:42 Can I just throw them into the from object and then put the join conditions in the where? 2011-07-01T17:05:01 guess i'll try that and see how it goes. 2011-07-01T17:05:36 *** Sally has quit IRC 2011-07-01T17:05:59 Fun SQL 2011-07-01T17:08:00 You should see some of mine 2011-07-01T17:08:27 didn't think the SQL was all that complicated, actually, but the JSON has me stumped. 2011-07-01T17:09:37 the examples in the tutorial don't show how to a join a table with another table in the query that isn't the "main table". 2011-07-01T17:09:46 bshum: http://paste.lisp.org/display/123089 2011-07-01T17:10:12 all of the multi-table join examples join back to 1 table. 2011-07-01T17:10:42 pffft... that's nothing. 2011-07-01T17:11:00 It has at least one fun column ;) 2011-07-01T17:12:45 * tsbere has at least 3 horrid ones that he has issues understanding what he was doing kicking around somewhere 2011-07-01T17:13:25 maybe I'll just use DBI to run the query and use CStoreEditor to do the dirty work with the data..... 2011-07-01T17:16:07 think i could do it in JSON with subqueries but I suspect that would be slower than joins. 2011-07-01T17:16:15 DBI it is. 2011-07-01T17:18:00 tsbere: did I see in one of your scripts on the sip where you were using SettingsClient to get the database connection parameters? 2011-07-01T17:19:16 yes, did see that. I'll have to lift that code. :) 2011-07-01T17:20:17 Dyrcona: I lifted it from clark. 2011-07-01T17:23:01 tsbere: well, I'm going to adapt it and stuff it in OILS.pm, 'cause I'm lazy like that. 2011-07-01T17:23:15 heh 2011-07-01T17:24:05 i got tired of copying and pasting the same three or four functions among programs, so I started a module. ;) 2011-07-01T17:28:46 gonna go home. guess i've got something i can work on tonight, if I get bored. 2011-07-01T17:30:48 *** Dyrcona has quit IRC 2011-07-01T17:43:25 *** yboston has quit IRC 2011-07-01T18:03:28 *** KN2W has joined #evergreen 2011-07-01T18:06:38 *** _dkyle_ has quit IRC 2011-07-01T18:06:39 *** _bott_ has quit IRC 2011-07-01T18:17:33 *** youdonotexist has quit IRC 2011-07-01T19:01:18 *** Dyrcona has joined #evergreen 2011-07-01T19:03:01 *** natschil has quit IRC 2011-07-01T19:26:07 *** _bott_ has joined #evergreen 2011-07-01T19:28:29 *** _dkyle_ has joined #evergreen 2011-07-01T19:47:44 *** _dkyle_ has quit IRC 2011-07-01T19:49:12 *** _bott_ has quit IRC 2011-07-01T19:49:31 *** KN2W has quit IRC 2011-07-01T20:01:58 *** _dkyle_ has joined #evergreen 2011-07-01T20:02:36 *** granitize has joined #evergreen 2011-07-01T20:02:49 *** _bott_ has joined #evergreen 2011-07-01T20:04:48 *** granitize has left #evergreen 2011-07-01T20:05:02 *** granitize has joined #evergreen 2011-07-01T20:08:56 *** granitize has left #evergreen 2011-07-01T20:30:15 muahaha! 2011-07-01T20:40:19 *** Dyrcona has quit IRC 2011-07-01T22:09:35 *** KN2W has joined #evergreen 2011-07-01T22:33:26 *** KN2W has quit IRC 2011-07-01T23:28:31 *** mrpeters-isl has quit IRC