blob: f8e12132c84192de8527767ed18d810894a3b59d [file] [log] [blame]
Rushabh Mehtaad45e312013-11-20 12:59:58 +05301# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
Rushabh Mehtae67d1fb2013-08-05 14:59:54 +05302# License: GNU General Public License v3. See license.txt
3
Anand Doshi486f9df2012-07-19 13:40:31 +05304from __future__ import unicode_literals
Rushabh Mehta793ba6b2014-02-14 15:47:51 +05305import frappe
Anand Doshibedc62f2014-04-04 16:26:45 +05306from frappe.utils import cint
Rushabh Mehta12852e72012-02-29 15:11:06 +05307
Rushabh Mehta793ba6b2014-02-14 15:47:51 +05308@frappe.whitelist()
Rushabh Mehta1d8f1a92014-04-16 09:32:51 +05309def get_feed(limit_start, limit_page_length):
Anand Doshibedc62f2014-04-04 16:26:45 +053010 """get feed"""
Rushabh Mehta1d8f1a92014-04-16 09:32:51 +053011 return frappe.get_list("Feed", fields=["name", "feed_type", "doc_type", "subject", "owner", "modified"],
12 limit_start = limit_start, limit_page_length = limit_page_length)