sipcapture / homer-api

HOMER 5: Back-End (API) DEPRICATED - use sipcapture/homer-app
http://sipcapture.org
27 stars 67 forks source link

sip search results #79

Closed pinchasMT closed 8 years ago

pinchasMT commented 8 years ago

Is it possible to change sip search results columns (i would like to add cseq) there are 3 custom columns (F1 F2 F3) in ui and in DB, how can i utilize these fields (example)

lmangani commented 8 years ago

Hi @pinchasMT I am not sure I understand the request, feel free to play around with the results table and send a PR if you wish. The extra fields are reserved for future dynamic allocation of fields or generated ones, not actively used yet.

pinchasMT commented 8 years ago

i would like to display cseq column in search results

remi-blondel commented 6 years ago

If people are still ending up in this topic, here is the solution:

You can go in /var/www/html/homer/js/modules/pages/controllers/resultCtrl.js and just add a line in "columnDefs" scope:

e.i. {field: 'cseq', displayName: 'cseq', visible: true},

lmangani commented 6 years ago

Thanks! Feel free to add this to the wiki for others to find, or PR if you think its critical. Thanks!

remi-blondel commented 6 years ago

I think the best place to add it would be there : https://github.com/sipcapture/homer/wiki/Using-Homer-5#grid-options but I don't have the permission to do that.

lmangani commented 6 years ago

@remi-blondel please try again :) thanks in advance!

remi-blondel commented 6 years ago

Done ! Let me know if I forgot something :)