Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046968
D217.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jun 29, 2:34 PM
Size
2 KB
Mime Type
text/x-diff
Expires
Mon, Jun 30, 2:34 PM (6 h, 8 m)
Engine
blob
Format
Raw Data
Handle
676566
Attached To
D217: INP-1554 - Allow searching category items by meta fields
D217.diff
View Options
Index: branches/5.3.x/install/install_data.sql
===================================================================
--- branches/5.3.x/install/install_data.sql
+++ branches/5.3.x/install/install_data.sql
@@ -147,6 +147,8 @@
INSERT INTO SearchConfig VALUES ('Topic', 'PostedBy', 0, 1, 'lu_fielddesc_topic_postedby', 'lc_field_postedby', 'In-Bulletin', 'la_text_topic', 20, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO SearchConfig VALUES ('Topic', 'OrgId', 0, 1, 'lu_fielddesc_topic_orgid', 'lc_field_orgid', 'In-Bulletin', 'la_text_topic', 21, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO SearchConfig VALUES ('Topic', 'LastPostId', 0, 1, 'lu_fielddesc_topic_lastpostid', 'lc_field_lastpostid', 'In-Bulletin', 'la_text_topic', 22, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Topic', 'MetaKeywords', 0, 1, '', 'lc_field_MetaKeywords', 'In-Bulletin', 'la_text_topic', 23, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Topic', 'MetaDescription', 0, 1, '', 'lc_field_MetaDescription', 'In-Bulletin', 'la_text_topic', 24, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO Permissions VALUES (DEFAULT, 'TOPIC.VIEW', 14, 1, 0, {TopicCatId});
INSERT INTO Permissions VALUES (DEFAULT, 'TOPIC.REPLY.VIEW', 14, 1, 0, {TopicCatId});
Index: branches/5.3.x/install/upgrades.sql
===================================================================
--- branches/5.3.x/install/upgrades.sql
+++ branches/5.3.x/install/upgrades.sql
@@ -280,3 +280,6 @@
UPDATE Modules
SET ClassNamespace = 'InPortal\\Modules\\InBulletin'
WHERE `Name` = 'In-Bulletin';
+
+INSERT INTO SearchConfig VALUES ('Topic', 'MetaKeywords', 0, 1, '', 'lc_field_MetaKeywords', 'In-Bulletin', 'la_text_topic', 23, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Topic', 'MetaDescription', 0, 1, '', 'lc_field_MetaDescription', 'In-Bulletin', 'la_text_topic', 24, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Event Timeline
Log In to Comment