Browse Source

make mime details grouped

main
ghost 2 years ago
parent
commit
566d3b442e
  1. 2
      config/sphinx.conf.txt

2
config/sphinx.conf.txt

@ -15,7 +15,7 @@ source hostPage : common
SELECT `hostPage`.`hostPageId`, \ SELECT `hostPage`.`hostPageId`, \
`hostPage`.`uri`, \ `hostPage`.`uri`, \
`host`.`name`, \ `host`.`name`, \
REGEXP_REPLACE(`hostPage`.`mime`, '^[A-z-]+/([A-z-]+).*', '$1') AS `mime`, \ REGEXP_REPLACE(`hostPage`.`mime`, '^([A-z-]+)/[A-z-]+.*', '$1') AS `mime`, \
(SELECT SUM(`quantity`) FROM `hostPageToHostPage` \ (SELECT SUM(`quantity`) FROM `hostPageToHostPage` \
WHERE `hostPageToHostPage`.`hostPageIdTarget` = `hostPage`.`hostPageId` \ WHERE `hostPageToHostPage`.`hostPageIdTarget` = `hostPage`.`hostPageId` \
AND (SELECT `hostPageSource`.`hostId` FROM `hostPage` AS `hostPageSource` \ AND (SELECT `hostPageSource`.`hostId` FROM `hostPage` AS `hostPageSource` \

Loading…
Cancel
Save