mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-03 18:00:11 +00:00 
			
		
		
		
	Make item-detail and item-light consistent in field naming
This changes the public structure for an "item-light" as returned in search results. It makes unifying things easier if both names are the same.
This commit is contained in:
		@@ -4756,7 +4756,7 @@ components:
 | 
			
		||||
          $ref: "#/components/schemas/IdName"
 | 
			
		||||
        concPerson:
 | 
			
		||||
          $ref: "#/components/schemas/IdName"
 | 
			
		||||
        concEquip:
 | 
			
		||||
        concEquipment:
 | 
			
		||||
          $ref: "#/components/schemas/IdName"
 | 
			
		||||
        folder:
 | 
			
		||||
          $ref: "#/components/schemas/IdName"
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,7 @@ makeCorrLink item tagger =
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
makeConcLink :
 | 
			
		||||
    { a | concPerson : Maybe IdName, concEquip : Maybe IdName }
 | 
			
		||||
    { a | concPerson : Maybe IdName, concEquipment : Maybe IdName }
 | 
			
		||||
    -> (LinkTarget -> msg)
 | 
			
		||||
    -> List (Html msg)
 | 
			
		||||
makeConcLink item tagger =
 | 
			
		||||
@@ -47,7 +47,7 @@ makeConcLink item tagger =
 | 
			
		||||
        makeEquip idname =
 | 
			
		||||
            makeLink (LinkConcEquip >> tagger) idname
 | 
			
		||||
    in
 | 
			
		||||
    combine (Maybe.map makePerson item.concPerson) (Maybe.map makeEquip item.concEquip)
 | 
			
		||||
    combine (Maybe.map makePerson item.concPerson) (Maybe.map makeEquip item.concEquipment)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
makeFolderLink :
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user