File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ const wdService = function ($http, $q) {
113113
114114 function simplifyEntity ( entity ) {
115115 return {
116+ _raw : entity ,
116117 id : entity . id ,
117118 labels : simplifyLabels ( entity . labels ) ,
118119 aliases : simplifyAliases ( entity . aliases ) ,
@@ -131,7 +132,8 @@ const wdService = function ($http, $q) {
131132 return {
132133 value_type : snak . datatype ,
133134 value_id : snak . datavalue . value . id ,
134- value : snak . datavalue . value
135+ value : snak . datavalue . value ,
136+ qualifiers : claim . qualifiers
135137 } ;
136138 }
137139
@@ -170,7 +172,8 @@ const wdService = function ($http, $q) {
170172 property : labels [ key ] ,
171173 values : values . map ( value => labels [ value . value_id ] ?
172174 angular . extend ( value , { value : labels [ value . value_id ] } ) :
173- value )
175+ value ) ,
176+ qualifiers : entity . qualifiers
174177 } ) ) ;
175178 } ) ;
176179 return entities ;
You can’t perform that action at this time.
0 commit comments