Finding who borowed a book

Simon Fernandez simon at fernandez-perrot.fr
Mon Sep 14 11:59:55 BST 2020


Hi Robby

Many thanks for this lightning fast answer ! It works like a charm ! Thanks a
lot for your help.

> Tellico needs a one-line patch to include the loan information in the XML
> used in the view window. I'll include that in Tellico 3.3.3, which is
> forthcoming. Patch also attached to this email.
>
> Then, the entry template needs to be modified to include it. I've also
> attached a full entry template for the Fancy template that includes the
> loan info. My basic test shows this works.
>
> Does that get you started?
It works perfectly !

Thanks for your work,

Simon

> > On 19-09-13 22:58:54, Robby Stephenson wrote:
> > > Hi Simon,
> > >
> > > On Fri, Sep 13, 2019 at 9:49 AM Simon Fernandez <
> > simon at fernandez-perrot.fr>
> > > wrote:
> > >
> > > > I'm using Tellico for a student Comics/Manga library and we often loan
> > > > books
> > > > to students. But when a book is marked as "loaned", there is no way to
> > see
> > > > who it was loaned to when looking at the book info. The only way to
> > have
> > > > this
> > > > information to is by watching in the left "Loan" column and try all
> > names.
> > > >
> > > > Am I missing something ?
> > > > If not, would it be possible to add the possibility to access this
> > > > information
> > > > easily ?
> > > >
> > >
> > > No, you're not missing anything. That's a good point about including the
> > > Loan information in the Entry View. I'll see if I can take a look at
> > adding
> > > that. I filed it as wishlist bug 411903 so I can keep track of it.
> > > https://bugs.kde.org/show_bug.cgi?id=411903
> > >
> > > Robby
> >


> diff --git a/src/entryview.cpp b/src/entryview.cpp
> index c2b78c13..d05a788c 100644
> --- a/src/entryview.cpp
> +++ b/src/entryview.cpp
> @@ -147,6 +147,7 @@ void EntryView::showEntry(Tellico::Data::EntryPtr entry_) {
>    long opt = exporter.options();
>    // verify images for the view
>    opt |= Export::ExportVerifyImages;
> +  opt |= Export::ExportComplete;
>    // on second thought, don't auto-format everything, just clean it
>  //  if(Data::Field::autoFormat()) {
>  //    opt = Export::ExportFormatted;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20200914/aa66a467/attachment.sig>


More information about the tellico-users mailing list