Added words column

This commit is contained in:
2016-02-15 16:13:16 +08:00
parent e3e832e9ba
commit 6bdc01b309
2 changed files with 12 additions and 2 deletions
+1
View File
@@ -457,6 +457,7 @@ lying internet</textarea>
<th title="Cost per click ($US)">CPC</th>
<th title="Search that prompted the keyword suggestion">Search</th>
<th title="Source">Source</th>
<th title="Number of words">Words</th>
</tr>
</thead>
<tbody>
+11 -2
View File
@@ -359,6 +359,7 @@ var KWS = function(){
id: this.table.rows()[0].length+i,
keyword: cleanKw,
length: cleanKw.length,
words: cleanKw.trim().split(/ +/).length,
volume: null,
cpc: null,
search: search,
@@ -432,11 +433,12 @@ var KWS = function(){
addReq = store.add({
keyword: cleanKw,
length: cleanKw.length,
words: cleanKw.trim().split(/ +/).length,
search: search,
ip: this.myIp,
url: url,
domain: self.extractDomain(url),
time: (new Date()).toUTCString()
time: (new Date()).toUTCString(),
});
addReq.onsuccess = addNext;
@@ -817,7 +819,14 @@ var KWS = function(){
"responsivePriority": 2,
"targets": 6,
"visible": false,
}],
}, {
"name": "words",
"data": "words",
"targets": 7,
"visible": false,
"type": "num"
},
],
order: [[ 0, 'desc' ]],
// colReorder: {},
stateSave: true,