projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1a3a7
)
r2833 - getDictStats(): consider 'fibre channel switch models' a stock chapter
author
Denis Ovsienko
<infrastation@yandex.ru>
Wed, 10 Jun 2009 09:15:46 +0000
(09:15 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Wed, 10 Jun 2009 09:15:46 +0000
(09:15 +0000)
inc/database.php
patch
|
blob
|
blame
|
history
diff --git
a/inc/database.php
b/inc/database.php
index f57af4aff52d20f4d907e1120146c1aa63bee4c8..203d706ba3405d87038b70b28a2ea44144b8f896 100644
(file)
--- a/
inc/database.php
+++ b/
inc/database.php
@@
-1812,7
+1812,7
@@
function getDict ($parse_links = FALSE)
function getDictStats ()
{
- $stock_chapters = array (1, 2, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25);
+ $stock_chapters = array (1, 2, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
, 26
);
$query =
"select Chapter.id as chapter_no, Chapter.name as chapter_name, count(dict_key) as wc from " .
"Chapter left join Dictionary on Chapter.id = Dictionary.chapter_id group by Chapter.id";