]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/web/views/list_books.py
Fix(web/views/list_books): Fix a bug in series naming
[m_librarian.git] / m_librarian / web / views / list_books.py
index b0306dc00b04e03b4ad5351a5eea1b6bb91c110b..210516b61f92fc77175be0f824b6598ae6013965 100644 (file)
@@ -35,12 +35,12 @@ VFFSL=valueFromFrameOrSearchList
 VFSL=valueFromSearchList
 VFN=valueForName
 currentTime=time.time
-__CHEETAH_version__ = '3.1.0'
-__CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1)
-__CHEETAH_genTime__ = 1528718535.673384
-__CHEETAH_genTimestamp__ = 'Mon Jun 11 15:02:15 2018'
+__CHEETAH_version__ = '3.2.6'
+__CHEETAH_versionTuple__ = (3, 2, 6, 'final', 0)
+__CHEETAH_genTime__ = 1671291302.390272
+__CHEETAH_genTimestamp__ = 'Sat Dec 17 18:35:02 2022'
 __CHEETAH_src__ = 'list_books.tmpl'
-__CHEETAH_srcLastModified__ = 'Mon Jun 11 15:02:00 2018'
+__CHEETAH_srcLastModified__ = 'Sat Dec 17 18:34:51 2022'
 __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -113,9 +113,9 @@ class list_books(layout):
 ''')
             write(u'''  </tr>
 ''')
-            series = None
             columns1 = VFFSL(SL,"len",False)(VFFSL(SL,"columns",True))+1
-            for author in VFFSL(SL,"sorted",False)(VFFSL(SL,"books_by_author",True)): # generated from line 21, col 3
+            for author in VFFSL(SL,"sorted",False)(VFFSL(SL,"books_by_author",True)): # generated from line 20, col 3
+                series = None
                 books = VFFSL(SL,"books_by_author",True)[VFFSL(SL,"author",True)]
                 for book in VFFSL(SL,"books",True): # generated from line 23, col 5
                     if VFFSL(SL,"book.series",True) != VFFSL(SL,"series",True): # generated from line 24, col 5
@@ -145,7 +145,7 @@ class list_books(layout):
                     write(u'''"></td>
 ''')
                     for column in VFFSL(SL,"columns",True): # generated from line 39, col 3
-                        if VFFSL(SL,"column",True) == 'ser_no': # generated from line 40, col 3
+                        if VFFSL(SL,"column",True) in ('ser_no', 'size'): # generated from line 40, col 3
                             style = ' style="text-align: right; width: 5ex"'
                         else: # generated from line 42, col 3
                             style = ''
@@ -236,7 +236,7 @@ if not hasattr(list_books, '_initCheetahAttributes'):
 
 # CHEETAH was developed by Tavis Rudd and Mike Orr
 # with code, advice and input from many other volunteers.
-# For more information visit http://cheetahtemplate.org/
+# For more information visit https://cheetahtemplate.org/
 
 ##################################################
 ## if run from command line: