kopia lustrzana https://github.com/magicbug/Cloudlog
Map was referencing the old dxcc table, moved to a new structure.
rodzic
923817c064
commit
49e434149f
|
@ -94,7 +94,7 @@ class Dashboard extends CI_Controller {
|
||||||
} else {
|
} else {
|
||||||
$query = $this->db->query('
|
$query = $this->db->query('
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM dxcc
|
FROM dxcc_entities
|
||||||
WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) )
|
WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) )
|
||||||
ORDER BY LENGTH( prefix ) DESC
|
ORDER BY LENGTH( prefix ) DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|
@ -133,7 +133,7 @@ class Dashboard extends CI_Controller {
|
||||||
} else {
|
} else {
|
||||||
$query = $this->db->query('
|
$query = $this->db->query('
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM dxcc
|
FROM dxcc_entities
|
||||||
WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) )
|
WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) )
|
||||||
ORDER BY LENGTH( prefix ) DESC
|
ORDER BY LENGTH( prefix ) DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|
|
Ładowanie…
Reference in New Issue