I have added a "node title" field. I want to add this sort criteria to the node: the number of times the node has been viewed by visitors in a week, descending.
If I want to add a sort criteria with PHP code and a SQL query to insert in Views module, how should I do?
ps:i have overwritten a field. i want to query the database and using the query to Sort Criteria**how to add the custom one