Commit ac895b846c5bc06780a2b48a4602a04c8d27ae8f

Authored by Marcel Kawski
1 parent 09b51d53

Remove taking some fields values from parent document when splitting document

Showing 1 changed file with 4 additions and 4 deletions
collector/storage/views.py
... ... @@ -875,11 +875,11 @@ def split_doc(request, doc_id):
875 875 lang=parent.lang,
876 876 original_lang=parent.original_lang,
877 877 pipeline=parent.pipeline,
878   - publication_date=parent.publication_date,
879   - publisher=parent.publisher,
  878 + publication_date=None,
  879 + publisher='',
880 880 path=parent.path,
881   - type=parent.type,
882   - status=parent.status,
  881 + type='',
  882 + status='',
883 883 parent=parent,
884 884 processing_status=parent.processing_status,
885 885 sequence=sequence + 1)
... ...