mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-07 03:52:46 +02:00
PI Anthologies: Only put status in tags if in include_subject_tags. Closes #1332
This commit is contained in:
parent
bb96049934
commit
4e2e359dee
2 changed files with 4 additions and 1 deletions
|
|
@ -3201,7 +3201,9 @@ The previously downloaded book is still in the anthology, but FFF doesn't have t
|
|||
s = options.get('frompage',{}).get('status','')
|
||||
if s:
|
||||
book['all_metadata']['status'] = s
|
||||
book['tags'].append(s)
|
||||
## status into tags only if in include_subject_tags
|
||||
if 'status' in configuration.getConfigList('include_subject_tags'):
|
||||
book['tags'].append(s)
|
||||
book['tags'].extend(configuration.getConfigList('anthology_tags'))
|
||||
book['all_metadata']['anthology'] = "true"
|
||||
|
||||
|
|
|
|||
|
|
@ -491,6 +491,7 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
|||
desc = '<div><p>The Great Test Series of '+self.getSiteDomain()+'!</p><p>Now with two lines!</p></div>'
|
||||
return {'name':'The Great Test',
|
||||
'desc':desc,
|
||||
'status':'AStatus',
|
||||
'urllist':['http://'+self.getSiteDomain()+'?sid=1',
|
||||
'http://'+self.getSiteDomain()+'?sid=2',
|
||||
'http://'+self.getSiteDomain()+'?sid=3',
|
||||
|
|
|
|||
Loading…
Reference in a new issue