brotherton-erpnext/erpnext/home/page/activity/activity.py
Rushabh Mehta 1d8f1a9a46 #1481
2014-04-16 09:32:51 +05:30

13 lines
472 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.utils import cint
@frappe.whitelist()
def get_feed(limit_start, limit_page_length):
"""get feed"""
return frappe.get_list("Feed", fields=["name", "feed_type", "doc_type", "subject", "owner", "modified"],
limit_start = limit_start, limit_page_length = limit_page_length)