Time Nick Message 16:31 oleonard Thank you Joubu 16:30 Joubu I think it is all what you need to know 16:30 Joubu in both case loop.first, loop.last, loop.size, etc can be used inside the FOREACH loop 16:29 Joubu BUT messages.count must be used (count is a Koha::Objects method) 16:29 Joubu Same if "messages" is a Koha::Objects, [% if messages %] will always be true 16:28 Joubu [% IF array %] will always be evaluated to true, because "array" contains the ref to the array 16:28 Joubu oleonard: array.size should return the number of elements in the array 16:22 oleonard Joubu: For instance, in circulation.tt, [% FOREACH message IN messages %]. [% messages.size %] is empty. [% IF ( messages ) %] evaluates as true even when there are no messages. 16:13 oleonard Joubu: I'm just using "loop" as an example, not as a real name 16:12 Joubu loop is a pretty bad name for an array :) 16:11 Joubu oleonard: http://www.template-toolkit.org/docs/manual/Directives.html#section_FOREACH 16:10 Joubu oleonard: ^ 16:10 Joubu 'loop' is an internal TT variable name, we should not use it 16:07 oleonard When we have something like [% FOREACH loo IN loop %] in the template, why does [% loop.size %] sometimes /not/ report an accurate value? 15:01 Joubu hi atheia, did you have time to take a look at the wiki? 15:01 Joubu hi #koha :) 15:01 Joubu ... 15:01 Joubu query atheia Hi 14:57 reiveune bye 14:36 huginn kkpG6ntM: I've exhausted my database of quotes 14:36 kkpG6ntM @tcohen: yeah, that makes sense. never thought of enableing plack. Thanks 14:35 tcohen kkpG6ntM: sudo koha-plack --enable <instance> ; sudo koha-plack --start <instance> ; sudo systemctl restart aapche2.service 14:29 kkpG6ntM Hey, trying to check out the Koha api but I think I am missing something. Is there anything required to enable it? 16.11 but any requests sent to /api/v1/$ causes "Cannot serve directory /usr/share/koha/api/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found" in apache logs. alias in apache-shared looks good. Can't figure it out! 13:54 kidclamp np 13:53 oleonard Thanks kidclamp 13:51 tcohen ha 13:51 kidclamp still excited about test mode for notices 13:51 tcohen ? 13:51 kidclamp tcohen++ 13:51 tcohen morning 13:51 kidclamp hold.reservedate not reserves.reservedate 13:51 kidclamp so checkout.date_due - not issue.date_due 13:50 kidclamp around line 1482 - sub get_tt_params - you need to use the singular names 13:50 kidclamp http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=C4/Letters.pm;h=cd7b785c969682f94e554732ddb2a26b248ec5b5;hb=HEAD 13:47 kidclamp oleonard, the tables aren't named as you would expect 12:58 * oleonard pays up gladly. 12:58 wahanui That'll be €1 for the awesome jar, oleonard 12:58 oleonard Awesome. 12:58 jzairo they do oleonard 12:57 * oleonard wonders if everyone calls jzairo "J-Z" 12:22 oleonard Hm, so installing translations in kohadevbox is not straightforward. 12:03 oleonard Okay, not none. Data from the biblio table seems to be the exception. [% biblio.title %] works, for instance. 11:46 oleonard Template toolkit syntax in notices is working as far as template logic goes, but none of the variable are coming through. 11:40 magnuse have fun #koha, see ya on wednesday 11:40 magnuse thanks oleonard 11:39 eythian hi oleopard 11:35 oleonard Has anyone here had success switching to T:T formatting for notices? It's not working for me in master or 16.11.x 11:33 oleonard Oh I see josef_moravec answered already, sorry. 11:33 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16239 enhancement, P5 - low, ---, josef.moravec, RESOLVED FIXED, Upgrade Bootstrap in the staff client 11:33 oleonard magnuse: Bug 16239 11:29 oleonard Hi all 11:25 huginn druthb: The operation succeeded. 11:25 druthb @later tell cait Not a bit! I keep missing seeing you here! 10:20 kidclamp test mode for notices - so useful 10:20 kidclamp tcohen++ 09:50 marcelr thx 09:49 kidclamp sure, lemme take a look later this morning 09:48 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15140 enhancement, P5 - low, ---, m.de.rooy, Signed Off , Add MARC21 776 to OPAC and staff display 09:48 marcelr hi kidclamp : could you qa bug 15140 please ? 09:12 marcelr josef_moravec++ 09:07 josef_moravec ok, I'll try it too ;) 09:07 marcelr you can put it on a new report 09:06 josef_moravec marcelr: should I make a followup patch to change "die" to excpetions? 09:06 marcelr great josef 09:06 josef_moravec marcelr: I fixed the problem with warnings in logs 08:56 magnuse cool 08:52 atheia Currently I'm actually able to consistently reproduce an error to do with mpm_threading in the apache config. 08:51 atheia hmm… ok, haven't really gotten to that stage yet ;-) 08:51 magnuse i have not investigated why 08:51 magnuse "session expired" or something 08:50 magnuse when i log in to the intranet i get kicked out way too often 08:45 atheia I'm trying to make it more robust and user-friendly for newbies, but have not hit upon patterns for the fails yet. 08:43 atheia Is there anyone else here who repeatedly has undocumented issues with kohadevbox of a variety of kinds? 08:42 atheia g'day Koha! 07:29 gaetan_B hello 07:00 wahanui niihau, reiveune 07:00 reiveune hello 06:57 josef_moravec good rearrangement, thanks! 06:57 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8612 enhancement, P5 - low, ---, remi.mayrand-provencher, Passed QA , CSV export profile to have custom fields in export csv basket 06:57 josef_moravec thanks for bug 8612 06:57 marcelr hi josef_moravec ; 8612 entered PQA 06:57 josef_moravec hi marcelr 06:57 marcelr hi #koha 06:53 fridolin hie ther 06:36 alex_a hello josef_moravec 06:34 josef_moravec hi alex_a 06:27 alex_a bonjour 06:24 magnuse cool 06:22 josef_moravec we were using UNIMARC just few years ago, now on MARC21 too 06:22 josef_moravec magnuse: absolutely! 06:21 magnuse but easier to go from marc21 to rdf than from normarc to rdf 06:21 magnuse nah, marc21 to begin with 06:21 josef_moravec magnuse: great, what is the substitution? RDF? ;) 06:19 magnuse woohoo, looks like an EOL for NORMARC is on the horizon! 05:58 magnuse thanks josef_moravec, i suspected something like that 05:58 * magnuse waves 05:10 josef_moravec magnuse: regarding the bootstrap: the bootstrap library was upgraded from version 2 to version 3 during 17.05 cycle 03:09 tcohen night 02:19 tcohen wizzyrea: shame on you 02:15 tcohen ha 02:14 wizzyrea I don't do slapping, sorry. 02:14 tcohen he 02:14 wizzyrea i am happy to be a rubber duck if that's something that would help 02:13 tcohen its a general thing, but was talking about code 02:13 wizzyrea oh you've summoned him now... 02:13 wizzyrea hehehe 02:12 tcohen I'm lucky eythian is not around 02:12 tcohen yeap, like I need someone to slap my face so I move on ha 02:11 wizzyrea like code problems or other problems? 02:11 wizzyrea stuck!? 02:11 tcohen with some stuff 02:11 tcohen working overnigt, trying to recover from being stuck 02:11 wizzyrea doin' ok, pretty busy lately! 02:10 tcohen i'm doing fine 02:10 tcohen how are YOU doing? 02:10 wizzyrea anyway, how's it goin? 02:10 wizzyrea hmm 02:10 tcohen more than a week I think :-P 02:09 wizzyrea not *that* long :) 02:09 tcohen hi wizzyrea, its been a while 02:09 wizzyrea how ya doin 02:09 wizzyrea hi tcohen 02:09 wahanui hi, tcohen 02:09 tcohen hi