Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8319
SMW_1.6_record_index_fix.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:57 PM
2014-11-21 23:57:20 (UTC+0)
Size
728 B
Referenced Files
None
Subscribers
None
SMW_1.6_record_index_fix.patch
View Options
diff -w -E -r --unified SemanticMediaWiki_1.6/includes/SMW_DataValueFactory.php SemanticMediaWiki_kkmod/includes/SMW_DataValueFactory.php
--- SemanticMediaWiki_1.6/includes/SMW_DataValueFactory.php 2011-07-03 13:49:58.000000000 +0200
+++ SemanticMediaWiki_kkmod/includes/SMW_DataValueFactory.php 2011-08-17 10:37:31.000000000 +0200
@@ -118,6 +118,8 @@
static public function newDataItemValue( SMWDataItem $dataItem, $property, $caption = false ) {
if ( $property !== null ) {
$typeid = $property->findPropertyTypeID();
+ if ( $typeid === '_rec' )
+ $typeid = self::$mDefaultDataItemTypeIds[$dataItem->getDiType()];
} else {
$typeid = self::$mDefaultDataItemTypeIds[$dataItem->getDiType()];
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7843
Default Alt Text
SMW_1.6_record_index_fix.patch (728 B)
Attached To
Mode
T32284: Broken +index=x for records
Attached
Detach File
Event Timeline
Log In to Comment