13 lines
472 B
Python
Raw Normal View History

2013-11-20 12:59:58 +05:30
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
2014-02-14 15:47:51 +05:30
import frappe
2014-04-04 16:26:45 +05:30
from frappe.utils import cint
2012-02-29 15:11:06 +05:30
2014-02-14 15:47:51 +05:30
@frappe.whitelist()
2014-04-16 09:32:51 +05:30
def get_feed(limit_start, limit_page_length):
2014-04-04 16:26:45 +05:30
"""get feed"""
2014-04-16 09:32:51 +05:30
return frappe.get_list("Feed", fields=["name", "feed_type", "doc_type", "subject", "owner", "modified"],
limit_start = limit_start, limit_page_length = limit_page_length)