/[webpac2]/trunk/vhost/koha/marc.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/vhost/koha/marc.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1267 - (hide annotations)
Tue Aug 11 12:20:16 2009 UTC (14 years, 9 months ago) by mglavica
File MIME type: text/plain
File size: 515 byte(s)
work on Koha search with webpac

1 dpavlin 1239 search( 'author',
2     join_with(' ; ',
3     rec('100','a'),
4     rec('700','a')
5     )
6     );
7     search( 'title',
8     join_with(' ',
9     rec('245','a'),
10     rec('245','b'),
11     rec('245','c'),
12     )
13     );
14     search( 'isbn', rec('020','a') );
15     search( 'impressum',
16     join_with(' ',
17     rec('260','a'),
18     rec('260','b'),
19     rec('260','c'),
20     )
21     );
22 mglavica 1252 if ( my $year = rec('008') ) {
23     search( 'year',
24     substr( $year,7,4 )
25     ) if length($year) > 13;
26     }
27 mglavica 1267
28    
29 dpavlin 1239 search( 'keywords',
30     join_with(' ; ',
31     rec('653','a')
32     )
33     );
34     search( 'biblionumber',
35     rec('999','c')
36     );

  ViewVC Help
Powered by ViewVC 1.1.26