No Code Attached Yet
avatar Scrabble96
Scrabble96
6 Feb 2024

Problem identified

I am trying, in phpMyAdmin, to create a database View linking the content table with the fields_values table in order to filter out those articles where a custom date/time field has a date less than now. The column to link the the two tables together, I thought, would be content.id and fields_values.item_id, but no: content.id is an int(10) type and fields_values.item_id is a varchar(255) type. Why?

Proposed solution

Open questions

Shouldn't fields_values.item_id be an int(10) type?

avatar Scrabble96 Scrabble96 - open - 6 Feb 2024
avatar joomla-cms-bot joomla-cms-bot - change - 6 Feb 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Feb 2024
avatar Quy Quy - change - 6 Feb 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-02-06 15:57:30
Closed_By Quy
avatar Quy Quy - close - 6 Feb 2024
avatar Quy
Quy - comment - 6 Feb 2024

See #35795.

Add a Comment

Login with GitHub to post a comment